com.change_vision.jude.api.inf.editor
Interface ActivityDiagramEditor

com.change_vision.jude.api.inf.editor.ActivityDiagramEditor
All Superinterfaces:
BasicDiagramEditor, BehaviorDiagramEditor, DiagramEditor
All Implemented Interfaces:
BasicDiagramEditor, BehaviorDiagramEditor, DiagramEditor

public ActivityDiagramEditor
extends BehaviorDiagramEditor

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 element.
abstract  INodePresentation createActivityParameterNode(String name, IClass base, Point2D location)
          Create an Activity Parameter Node.
abstract  INodePresentation createCallBehaviorAction(String name, IActivityDiagram activity, Point2D location)
          Create an 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 an 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 Join Node
abstract  INodePresentation createJoinNode(INodePresentation parent, Point2D location)
          Create Join Node
abstract  INodePresentation createObjectNode(String name, IClass base, Point2D location)
          Create an object.
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, createProblemNote, createRationaleNote
 
Methods inherited from class com.change_vision.jude.api.inf.editor.DiagramEditor
createImage, createLine, createRect, createText, delete, deleteDiagram, deletePresentation, getDiagram, setDiagram
 

Method Detail

createActivityDiagram

abstract IActivityDiagram createActivityDiagram(INamedElement owner,
                                                String name)
Crate an activity diagram in a parent element. Diagram is set to DiagramEditor (DiagramEditor.setDiagram(IDiagram diagram)) if the diagram is created successfully.

Parameters:
owner - Parent element
name - Activity Diagram Name
Returns:
Activity Diagram
Throws:
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.

createPartition

abstract INodePresentation createPartition(INodePresentation superPartition,
                                           INodePresentation previousPartition,
                                           String name,
                                           boolean isHorizontal)
Create a partition.

Parameters:
superPartition - Super Partition
previousPartition - Previous Partition
name - Partition Name
isHorizontal - horizontal partition/vertical partition
Returns:
INodePresentation partition
Throws:
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.

createInitialNode

abstract INodePresentation createInitialNode(String name,
                                             Point2D location)
Create an Initial Node.

Parameters:
name - Initial Node Name
location - Location
Returns:
INodePresentation Initial State
Throws:
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.

createFinalNode

abstract INodePresentation createFinalNode(String name,
                                           Point2D location)
Create an Final Node.

Parameters:
name - Final Node Name
location - Location
Returns:
INodePresentation Final State
Throws:
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.

createAction

abstract INodePresentation createAction(String name,
                                        Point2D location)
Create an Action.

Parameters:
name - Action Name
location - Location
Returns:
INodePresentation Action
Throws:
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.

createFlowFinalNode

abstract INodePresentation createFlowFinalNode(String name,
                                               Point2D location)
Create a Flow Final Node.

Parameters:
name - Flow Final Node Name
location - Location
Returns:
INodePresentation Flow Final Node
Throws:
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.

createSendSignalAction

abstract INodePresentation createSendSignalAction(String name,
                                                  Point2D location)
Create a Send Signal Action.

Parameters:
name - Send Signal Action Name
location - Location
Returns:
INodePresentation Send Signal Action
Throws:
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.

createAcceptEventAction

abstract INodePresentation createAcceptEventAction(String name,
                                                   Point2D location)
Create an accept event action.

Parameters:
name - accept event action Name
location - Location
Returns:
INodePresentation accept event action
Throws:
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.

createAcceptTimeEventAction

abstract INodePresentation createAcceptTimeEventAction(String name,
                                                       Point2D location)
Create an accept time event action.

Parameters:
name - accept time event action Name
location - Location
Returns:
INodePresentation accept time event action
Throws:
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.

createCallBehaviorAction

abstract INodePresentation createCallBehaviorAction(String name,
                                                    IActivityDiagram activity,
                                                    Point2D location)
Create an Call Behavior Action.

Parameters:
name - Call Behavior Action Name
activity - Activity diagram to reference
location - Location
Returns:
INodePresentation Call Behavior Action
Throws:
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.

createPin

abstract INodePresentation createPin(String name,
                                     IClass base,
                                     boolean isInput,
                                     INodePresentation parentAction,
                                     Point2D location)
Create a pin in a parent presentation.

Parameters:
name - Pin Name
base - Pin Base Type
isInput - Input or Output
parent - Parent Presentation (Action/ Call behavior Action)
location - Location
Returns:
INodePresentation Pin
Throws:
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.

createFlow

abstract ILinkPresentation createFlow(INodePresentation source,
                                      INodePresentation target)
Create a control flow.

Parameters:
end0 - the presentation connected to one side of the link
end1 - the presentation connected to one side of the link
Returns:
control flow Presentation.
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. 
      READ_ONLY_KEY - if a read-only element is edited.
Values: 
      Error messages for exceptions.

createObjectNode

abstract INodePresentation createObjectNode(String name,
                                            IClass base,
                                            Point2D location)
Create an object.

Parameters:
name - Object Node Name
base - Object Node Base Type
location - Location
Returns:
INodePresentation Object Node
Throws:
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.

createActivityParameterNode

abstract INodePresentation createActivityParameterNode(String name,
                                                       IClass base,
                                                       Point2D location)
Create an Activity Parameter Node.

Parameters:
name - Activity Parameter Node Name
base - Activity Parameter Node Base Type
location - Location
Returns:
INodePresentation Activity Parameter Node
Throws:
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.

createProcess

abstract INodePresentation createProcess(String name,
                                         Point2D location)
Create a Process.

Parameters:
name - Process Name
location - Location
Returns:
INodePresentation Process
Throws:
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.

createDecisionMergeNode

abstract INodePresentation createDecisionMergeNode(INodePresentation parent,
                                                   Point2D location)
Create a decision Merge node.

Parameters:
parent - Parent Presentation
location - Location
Returns:
INodePresentation
Throws:
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.

createForkNode

abstract INodePresentation createForkNode(INodePresentation parent,
                                          Point2D location,
                                          double width,
                                          double height)
Create a fork Node

Parameters:
parent - parent Presentation
location - location
width - width
height - height
Returns:
Throws:
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.

createForkNode

abstract INodePresentation createForkNode(INodePresentation parent,
                                          Point2D location)
Create a fork Node

Parameters:
parent - parent Presentation
location - location
Returns:
INodePresentation
Throws:
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.

createJoinNode

abstract INodePresentation createJoinNode(INodePresentation parent,
                                          Point2D location,
                                          double width,
                                          double height)
Create Join Node

Parameters:
parent - Parent Presentation
location - Location
width - Width
height - Height
Returns:
INodePresentation
Throws:
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.

createJoinNode

abstract INodePresentation createJoinNode(INodePresentation parent,
                                          Point2D location)
Create Join Node

Parameters:
parent - Parent Presentation
location - Location
Returns:
INodePresentation
Throws:
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.

createConnector

abstract INodePresentation createConnector(String name,
                                           Point2D location)
Create a connector.

Parameters:
name - Connector Name
location - Location
Returns:
INodePresentation Action
Throws:
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.

createDependency

abstract ILinkPresentation createDependency(String name,
                                            INodePresentation client,
                                            INodePresentation supplier)
Create a dependency.

Parameters:
name - name
client - the presentation connected to client end of the link
supplier - the presentation connected to supplier end of the link
Returns:
dependency Presentation.
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. 
      READ_ONLY_KEY - if a read-only element is edited.
Values: 
      Error messages for exceptions.