Module implementing a dialog showing a UML like class diagram of a package.
None |
PackageDiagram | Class implementing a dialog showing a UML like class diagram of a package. |
None |
Class implementing a dialog showing a UML like class diagram of a package.
None |
PackageDiagram | 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. |
__buildClasses | Private method to build the class shapes of the package diagram. |
__buildModulesDict | Private method to build a dictionary of modules contained in the package. |
__createAssociations | Private method to generate the associations between the class shapes. |
__getCurrentShape | Private method to get the named shape. |
relayout | Method to relayout the diagram. |
show | Overriden method to show the dialog. |
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 build the class shapes of the package diagram.
The algorithm is borrowed from Boa Constructor.
Private method to build a dictionary of modules contained in the package.
Private method to generate the associations between the class shapes.
Private method to get the named shape.
Method to relayout the diagram.
Overriden method to show the dialog.