|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.editor.ActivityDiagramEditor
public ActivityDiagramEditor
Interface to create presentations in Activity Diagram.
Method Summary | |
---|---|
abstract INodePresentation |
createAcceptEventAction(String name,
Point2D location)
Create an Accept Event Action. |
abstract INodePresentation |
createAcceptTimeEventAction(String name,
Point2D location)
Create an Accept Time Event Action. |
abstract INodePresentation |
createAction(String name,
Point2D location)
Create an Action. |
abstract IActivityDiagram |
createActivityDiagram(INamedElement owner,
String name)
Crate an activity diagram in a parent package. |
abstract INodePresentation |
createActivityParameterNode(String name,
IClass base,
Point2D location)
Create an Activity Parameter Node. |
abstract INodePresentation |
createCallBehaviorAction(String name,
IActivityDiagram activity,
Point2D location)
Create a Call Behavior Action. |
abstract INodePresentation |
createConnector(String name,
Point2D location)
Create a Connector. |
abstract INodePresentation |
createDecisionMergeNode(INodePresentation parent,
Point2D location)
Create a decision Merge Node. |
abstract ILinkPresentation |
createDependency(String name,
INodePresentation client,
INodePresentation supplier)
Create a Dependency. |
abstract INodePresentation |
createFinalNode(String name,
Point2D location)
Create a Final Node. |
abstract ILinkPresentation |
createFlow(INodePresentation source,
INodePresentation target)
Create a Control Flow. |
abstract INodePresentation |
createFlowFinalNode(String name,
Point2D location)
Create a Flow Final Node. |
abstract INodePresentation |
createForkNode(INodePresentation parent,
Point2D location,
double width,
double height)
Create a Fork Node. |
abstract INodePresentation |
createForkNode(INodePresentation parent,
Point2D location)
Create a Fork Node. |
abstract INodePresentation |
createInitialNode(String name,
Point2D location)
Create an Initial Node. |
abstract INodePresentation |
createJoinNode(INodePresentation parent,
Point2D location,
double width,
double height)
Create a Join Node. |
abstract INodePresentation |
createJoinNode(INodePresentation parent,
Point2D location)
Create a Join Node. |
abstract INodePresentation |
createObjectNode(String name,
IClass base,
Point2D location)
Create an Object Node. |
abstract INodePresentation |
createPartition(INodePresentation superPartition,
INodePresentation previousPartition,
String name,
boolean isHorizontal)
Create a Partition. |
abstract INodePresentation |
createPin(String name,
IClass base,
boolean isInput,
INodePresentation parentAction,
Point2D location)
Create a Pin in a Parent Presentation. |
abstract INodePresentation |
createProcess(String name,
Point2D location)
Create a Process. |
abstract INodePresentation |
createSendSignalAction(String name,
Point2D location)
Create a send Signal Action. |
Methods inherited from class com.change_vision.jude.api.inf.editor.BasicDiagramEditor |
---|
createNote, createNoteAnchor, createNoteAnchor |
Methods inherited from class com.change_vision.jude.api.inf.editor.DiagramEditor |
---|
createImage, createLine, createRect, createText, delete, deleteDiagram, deletePresentation, getDiagram, setDiagram |
Method Detail |
---|
abstract IActivityDiagram createActivityDiagram(INamedElement owner, String name)
owner
- Parent Packagename
- Activity Diagram Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. READ_ONLY_MESSAGE - if a read-only element is edited. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createPartition(INodePresentation superPartition, INodePresentation previousPartition, String name, boolean isHorizontal)
superPartition
- Super PartitionpreviousPartition
- Previous Partitionname
- Partition NameisHorizontal
- Horizontal Partition / Vertical Partition
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createInitialNode(String name, Point2D location)
name
- Initial Node Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createFinalNode(String name, Point2D location)
name
- Final Node Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createAction(String name, Point2D location)
name
- Action Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createFlowFinalNode(String name, Point2D location)
name
- Flow Final Node Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createSendSignalAction(String name, Point2D location)
name
- send Signal Action Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createAcceptEventAction(String name, Point2D location)
name
- Accept Event Action Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createAcceptTimeEventAction(String name, Point2D location)
name
- Accept Time Event Action Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createCallBehaviorAction(String name, IActivityDiagram activity, Point2D location)
name
- Call Behavior Action Nameactivity
- Activity diagram to referencelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createPin(String name, IClass base, boolean isInput, INodePresentation parentAction, Point2D location)
name
- Pin Namebase
- Pin Base TypeisInput
- if true, it is Input Pin, otherwise, it is Output Pin.parent
- Parent Presentation (Action/ Call behavior Action)location
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createFlow(INodePresentation source, INodePresentation target)
end0
- the presentation connected to one side of the linkend1
- the presentation connected to one side of the link
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. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract INodePresentation createObjectNode(String name, IClass base, Point2D location)
name
- Object Node Namebase
- Object Node Base Typelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createActivityParameterNode(String name, IClass base, Point2D location)
name
- Activity Parameter Node Namebase
- Activity Parameter Node Base Typelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createProcess(String name, Point2D location)
name
- Process Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createDecisionMergeNode(INodePresentation parent, Point2D location)
parent
- Parent Presentationlocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createForkNode(INodePresentation parent, Point2D location, double width, double height)
parent
- Parent Presentationlocation
- Locationwidth
- Widthheight
- Height
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createForkNode(INodePresentation parent, Point2D location)
parent
- Parent Presentationlocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createJoinNode(INodePresentation parent, Point2D location, double width, double height)
parent
- Parent Presentationlocation
- Locationwidth
- Widthheight
- Height
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createJoinNode(INodePresentation parent, Point2D location)
parent
- Parent Presentationlocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createConnector(String name, Point2D location)
name
- Connector Namelocation
- Location
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. ILLEGAL_DIAGRAM_TYPE_KEY - if the diagram type is illegal. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. INVALID_PARENT_KEY - if the parent is invalid. READ_ONLY_MESSAGE - if a read-only element is edited. OUT_OF_CONTAINER_KEY - if the location is specified out of container. LOCATION_ERROR_KEY - if a parent exists in the specified location. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createDependency(String name, INodePresentation client, INodePresentation supplier)
name
- Dependency Nameclient
- the presentation connected to client end of the linksupplier
- the presentation connected to supplier end of the link
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. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |