|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.change_vision.jude.api.inf.editor.CompositeStructureDiagramEditor
public CompositeStructureDiagramEditor
Interface to edit (create/delete) CompositeStructure diagrams.
| Method Summary | |
|---|---|
abstract ICompositeStructureDiagram |
createCompositeStructureDiagram(INamedElement owner,
String name)
Create a CompositeStructure Diagram in a parent package. |
abstract ILinkPresentation |
createConnectorPresentation(INodePresentation fromPresentation,
INodePresentation toPresentation)
Create a connector and its presentation. |
abstract INodePresentation |
createPortPresentation(INodePresentation targetPresentation,
String name,
String dataType,
Point2D location)
Create a port presentation on a part or structured class. |
abstract INodePresentation |
createPortPresentation(INodePresentation targetPresentation,
IPort iPort,
Point2D location)
Create a port presentation on a part or structured class. |
abstract INodePresentation |
createPortPresentation(INodePresentation targetPresentation)
Create a port presentation on a part or structured class. |
abstract INodePresentation |
createProvidedInterfacePresentation(INodePresentation endPresentation)
Create a provided interface for a port or a part beside it. |
abstract INodePresentation |
createProvidedInterfacePresentation(INodePresentation endPresentation,
Point2D location)
Create a provided interface for a port or a part. |
abstract INodePresentation |
createProvidedInterfacePresentation(INodePresentation endPresentation,
IClass interfaceModel,
Point2D location)
Create a provided interface for a port or a part. |
abstract INodePresentation |
createRequiredInterfacePresentation(INodePresentation endPresentation)
Create a required interface for a port or a part beside it. |
abstract INodePresentation |
createRequiredInterfacePresentation(INodePresentation endPresentation,
Point2D location)
Create a required interface for a port or a part. |
abstract INodePresentation |
createRequiredInterfacePresentation(INodePresentation endPresentation,
IClass interfaceModel,
Point2D location)
Create a required interface for a port or a part. |
abstract INodePresentation |
createStructuredClassPresentation(IElement model,
Point2D location)
Create a INodePresentation as Structured Class. |
abstract INodePresentation |
createStructuredClassPresentation(IElement model,
INodePresentation parent,
Point2D location)
Create a INodePresentation as Structured Class. |
abstract void |
showInterfacePresentations(INodePresentation portPresentation,
Point2D location)
show interfaces connected to the port. |
| Methods inherited from class com.change_vision.jude.api.inf.editor.StructureDiagramEditor |
|---|
createContainmentGroup, createContainmentLinkPresentation, createGeneralizationGroup, createLinkPresentation, createNodePresentation, createNodePresentation, getContainmentGroup, getGeneralizationGroup |
| 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 ICompositeStructureDiagram createCompositeStructureDiagram(INamedElement owner,
String name)
owner - Parent Packagename - name
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.
abstract ILinkPresentation createConnectorPresentation(INodePresentation fromPresentation,
INodePresentation toPresentation)
fromPresentation - part presentation or port presentationtoPresentation - part presentation or port presentation
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.
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 createStructuredClassPresentation(IElement model,
Point2D location)
model - modellocation - location
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 createStructuredClassPresentation(IElement model,
INodePresentation parent,
Point2D location)
model - modelparent - parent Presentation.location - location
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 createPortPresentation(INodePresentation targetPresentation,
String name,
String dataType,
Point2D location)
targetPresentation - part presentation or structured class presentationname - port namedataType - data type for the portlocation - location
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.
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 createPortPresentation(INodePresentation targetPresentation,
IPort iPort,
Point2D location)
targetPresentation - part presentation or structured class presentationiPort - port model for the port presentationlocation - location
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.
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 createPortPresentation(INodePresentation targetPresentation)
targetPresentation - part presentation or structured class presentation
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.
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 createProvidedInterfacePresentation(INodePresentation endPresentation)
endPresentation - part presentation or port presentation
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.
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 createProvidedInterfacePresentation(INodePresentation endPresentation,
Point2D location)
endPresentation - part presentation or port presentationlocation - the position of the provided interface
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.
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 createProvidedInterfacePresentation(INodePresentation endPresentation,
IClass interfaceModel,
Point2D location)
endPresentation - part presentation or port presentationinterfaceModel - set an interface as the provide interfacelocation - the position of the provided interface
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.
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 createRequiredInterfacePresentation(INodePresentation endPresentation)
endPresentation - part presentation or port presentation
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.
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 createRequiredInterfacePresentation(INodePresentation endPresentation,
Point2D location)
endPresentation - part presentation or port presentationlocation - the position of the provided interface
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.
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 createRequiredInterfacePresentation(INodePresentation endPresentation,
IClass interfaceModel,
Point2D location)
endPresentation - part presentation or port presentationinterfaceModel - set an interface as the provide interfacelocation - the position of the provided interface
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.
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 void showInterfacePresentations(INodePresentation portPresentation,
Point2D location)
portPresentation - port presentation
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.
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 | ||||||||