public interface IDiagramCreator
IAutoDiagramFactory
Modifier and Type | Method and Description |
---|---|
IAbstractDiagram |
createDiagram(IModelElement main)
Create or update an automatic diagram for the given element.
|
String |
getAutoDiagramName()
Get The type of the current auto diagram this creator is managing.
|
IAbstractDiagram |
getExistingAutoDiagram(IModelElement main)
Get the current auto diagram centered on the given element.
|
IAbstractDiagram createDiagram(IModelElement main) throws StereotypeNotFoundException
Only one automatic diagram of the current type can be created for an element.
main
- The element to center the automatic diagram on.StereotypeNotFoundException
- When the <IAbstractDiagram getExistingAutoDiagram(IModelElement main)
main
- The element to look a diagram for.String getAutoDiagramName()