com.change_vision.jude.api.inf.editor
Interface UseCaseDiagramEditor
com.change_vision.jude.api.inf.editor.UseCaseDiagramEditor
- All Superinterfaces:
- BasicDiagramEditor, DiagramEditor, StructureDiagramEditor
- All Implemented Interfaces:
- BasicDiagramEditor, DiagramEditor, StructureDiagramEditor
public UseCaseDiagramEditor
- extends StructureDiagramEditor
Interface to edit (create/delete) UseCase diagrams. Throws Exception when invalid
models are generated.
createUseCaseDiagram
abstract IUseCaseDiagram createUseCaseDiagram(INamedElement owner,
String name)
- Create a Class Diagram in a parent package.
Diagram is set to DiagramEditor (DiagramEditor.setDiagram(IDiagram diagram))
if the diagram is created successfully.
- Parameters:
owner
- Parent Packagename
- name
- Returns:
- UseCase Diagram
- Throws:
InvalidEditingException
- InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal.
NO_NAME_ERROR_KEY - if the name is empty.
NAME_DOUBLE_ERROR_KEY - An element with the same name already exists.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.