|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.change_vision.jude.api.inf.editor.ERDiagramEditor
public ERDiagramEditor
Interface to edit (create/delete) ER diagrams. Throws Exception when invalid models are generated.
| Method Summary | |
|---|---|
abstract IERDiagram |
createERDiagram(IERSchema owner,
String name)
Create a ER Diagram. |
abstract ILinkPresentation |
createLinkPresentation(IElement model,
INodePresentation source,
INodePresentation target)
Create a ILinkPresentation. |
abstract INodePresentation |
createNodePresentation(IElement model,
Point2D location)
Create a INodePresentation. |
abstract INodePresentation |
createSubtypeRelationshipGroup(ILinkPresentation[] subtypeRelationships,
String direction)
Create a presentation for the group of the shared subtype relationships. |
abstract INodePresentation |
getSubtypeRelationshipGroup(ILinkPresentation subtypeRelationship)
Get the presentation for the group of the shared containment relation. |
| 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 IERDiagram createERDiagram(IERSchema owner,
String name)
owner - ownername - 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 createLinkPresentation(IElement model,
INodePresentation source,
INodePresentation target)
model - modelsource - sourcetarget - target
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,
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 getSubtypeRelationshipGroup(ILinkPresentation subtypeRelationship)
subtypeRelationship - An element of the group of containment relation.
abstract INodePresentation createSubtypeRelationshipGroup(ILinkPresentation[] subtypeRelationships,
String direction)
subtypeRelationships - Target subtype relationships.direction - The Direction. "vertical" / "horizontal".
InvalidEditingException - InvalidEditingException occurs.
Keys:
PARAMETER_ERROR_KEY - if a parameter is not set properly.
Values:
Error messages for exceptions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||