|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.gsn.editor.GsnDiagramEditor
public abstract GsnDiagramEditor
Interface to create presentations in GSN Diagram. Throws Exception when invalid models are generated.
Method Summary | |
---|---|
abstract IGsnDiagram |
createGsnDiagram(IModule owner,
String name)
Crate a GSN diagram in a parent module. |
abstract ILinkPresentation |
createLinkPresentation(IRelationship model,
INodePresentation source,
INodePresentation target)
Create a Link Presentation. |
abstract INodePresentation |
createNodePresentation(IArgumentAsset model,
Point2D location)
Create a Presentation on a diagram. |
abstract INodePresentation |
createNodePresentation(IArgumentAsset model,
INodePresentation parent,
Point2D location)
Create a Presentation on a parent. |
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 IGsnDiagram createGsnDiagram(IModule owner, String name)
owner
- Parent Modulename
- GSN 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. INVALID_PARENT_KEY - if the parent is invalid. NAME_DOUBLE_ERROR_KEY - if the name is duplication. INVALID_OWNER_KEY - if the owner is invalid.
Values: Error messages for exceptions.
abstract INodePresentation createNodePresentation(IArgumentAsset model, Point2D location)
model
- modellocation
- location on the diagram
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct.
Values: Error messages for exceptions.
abstract INodePresentation createNodePresentation(IArgumentAsset model, INodePresentation parent, Point2D location)
model
- modelparent
- parent Presentationlocation
- location on the diagram
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_PARENT_KEY - if the parent is invalid. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct.
Values: Error messages for exceptions.
abstract ILinkPresentation createLinkPresentation(IRelationship model, INodePresentation source, INodePresentation target)
model
- modelsource
- source Presentationtarget
- target Presentation
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |