|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.editor.InternalBlockDiagramEditor
public abstract InternalBlockDiagramEditor
Interface to edit (create/delete) CompositeStructure diagrams.
Method Summary | |
---|---|
abstract IInternalBlockDiagram |
createInternalBlockDiagram(IBlock owner,
String name)
Create a Internal Block Diagram in a parent block. |
abstract IInternalBlockDiagram |
createInternalBlockDiagram(IInterfaceBlock owner,
String name)
Create a Internal Block Diagram in a interface block. |
abstract ILinkPresentation |
createLinkPresentation(IElement model,
INodePresentation linkEnd0,
INodePresentation linkEnd1)
Create a ILinkPresentation. |
abstract INodePresentation |
createNodePresentation(IElement model,
Point2D location)
Create a INodePresentation. |
abstract INodePresentation |
createNodePresentation(IElement model,
INodePresentation container,
Point2D location)
Create a INodePresentation. |
abstract INodePresentation |
createProvidedInterfacePresentation(INodePresentation endPresentation,
Point2D location)
Create a provided interface for a port. |
abstract INodePresentation |
createRequiredInterfacePresentation(INodePresentation endPresentation,
Point2D location)
Create a required interface for a port. |
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, createImage, createLine, createRect, createText, delete, deleteDiagram, deletePresentation, getDiagram, setDiagram |
Method Detail |
---|
abstract IInternalBlockDiagram createInternalBlockDiagram(IBlock owner, String name)
owner
- Parent Packagename
- name
Internal Block Diagram
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 IInternalBlockDiagram createInternalBlockDiagram(IInterfaceBlock owner, String name)
owner
- Parent Packagename
- name
Internal Block Diagram
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 INodePresentation createNodePresentation(IElement model, Point2D location)
model
- modellocation
- location
INodePresentation.
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 createNodePresentation(IElement model, INodePresentation container, Point2D location)
model
- modelcontainer
- Parent Partlocation
- location
INodePresentation.
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 createProvidedInterfacePresentation(INodePresentation endPresentation, Point2D location)
endPresentation
- 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, Point2D location)
endPresentation
- 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 ILinkPresentation createLinkPresentation(IElement model, INodePresentation linkEnd0, INodePresentation linkEnd1)
model
- modellinkEnd0
- the presentation connected to one side of the linklinkEnd1
- the presentation connected to one side of the link
ILinkPresentation.
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 |