|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.editor.MindmapEditor
public MindmapEditor
Interface to edit (create/delete) Mind Map. Throws Exception when invalid models are generated.
Method Summary | |
---|---|
abstract IMindMapDiagram |
createMindmapDiagram(INamedElement parent,
String rootTopicLabel)
Create a mind map in a parent package. |
abstract ILinkPresentation |
createMMLinkPresentation(INodePresentation source,
INodePresentation target)
Create a MMLink Presentation. |
abstract INodePresentation |
createTopic(INodePresentation parent,
String label)
Create a child topic to a parent topic. |
abstract INodePresentation |
createTopic(INodePresentation parent,
String label,
int index)
Create a child topic to a parent topic by specifying an index. |
abstract void |
deleteChildren(INodePresentation parent)
Delete all child topics of the parent. |
abstract void |
moveTo(INodePresentation topic,
INodePresentation parent)
Move a topic to a parent topic. |
abstract void |
moveTo(INodePresentation topic,
INodePresentation parent,
int index)
Move a topic to a parent topic by specifying an index. |
Methods inherited from class com.change_vision.jude.api.inf.editor.DiagramEditor |
---|
createImage, createLine, createRect, createText, delete, deleteDiagram, deletePresentation, getDiagram, setDiagram |
Method Detail |
---|
abstract IMindMapDiagram createMindmapDiagram(INamedElement parent, String rootTopicLabel)
parent
- Parent PackagerootTopicLabel
- Mind Map Name (Root Topic 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. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createTopic(INodePresentation parent, String label)
parent
- Parent Topiclabel
- Child Topic Name
InvalidEditingException
- invalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. 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 createTopic(INodePresentation parent, String label, int index)
parent
- Parent Topiclabel
- Child Topic Nameindex
- Index of Child Topic
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. 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 moveTo(INodePresentation topic, INodePresentation parent)
parent
- Parent Topictopic
- Child Topic to be moved
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly INVALID_MINDMAP_TOPIC_MOVE_ERROR_KEY - if a topic is moved to another topic in a different diagram or to itself. 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 moveTo(INodePresentation topic, INodePresentation parent, int index)
parent
- Parent Topictopic
- Child Topic to be movedindex
- Index of Child Topic
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly INVALID_MINDMAP_TOPIC_MOVE_ERROR_KEY - if a topic is moved to another topic in a different diagram or to itself. 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 deleteChildren(INodePresentation parent)
parent
- Parent Topic
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly 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 createMMLinkPresentation(INodePresentation source, INodePresentation target)
linkEnd0
- the presentation connected to one side of the linklinkEnd1
- 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |