Module implementing a dialog showing a UML like class diagram.
None |
UMLClassDiagramBuilder | Class implementing a builder for UML like class diagrams. |
None |
Class implementing a builder for UML like class diagrams.
None |
None |
UMLClassDiagramBuilder | Constructor |
__addExternalClass | Private method to add a class defined outside the module. |
__addLocalClass | Private method to add a class defined in the module. |
__arrangeClasses | Private method to arrange the shapes on the canvas. |
__createAssociations | Private method to generate the associations between the class shapes. |
__getCurrentShape | Private method to get the named shape. |
buildDiagram | Public method to build the class shapes of the class diagram. |
getPersistenceData | Public method to get a string for data to be persisted. |
initialize | Public method to initialize the object. |
parsePersistenceData | Public method to parse persisted data. |
None |
Constructor
Private method to add a class defined outside the module.
If the canvas is too small to take the shape, it is enlarged.
Private method to add a class defined in the module.
Private method to arrange the shapes on the canvas.
The algorithm is borrowed from Boa Constructor.
Private method to generate the associations between the class shapes.
Private method to get the named shape.
Public method to build the class shapes of the class diagram.
The algorithm is borrowed from Boa Constructor.
Public method to get a string for data to be persisted.
Public method to initialize the object.
Public method to parse persisted data.