Module implementing a dialog showing an UML like class diagram of a package.
None |
PackageDiagramBuilder | Class implementing a builder for UML like class diagrams of a package. |
None |
Class implementing a builder for UML like class diagrams of a package.
None |
None |
PackageDiagramBuilder | Constructor |
__addExternalClass | Private method to add a class defined outside the module. |
__addLocalClass | Private method to add a class defined in the module. |
__addPackage | Private method to add a package to the diagram. |
__arrangeClasses | Private method to arrange the shapes on the canvas. |
__buildModulesDict | Private method to build a dictionary of modules contained in the package. |
__buildSubpackagesDict | Private method to build a dictionary of sub-packages contained in this package. |
__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 package diagram. |
fromDict | Public method to populate the class with data persisted by 'toDict()'. |
initialize | Public method to initialize the object. |
parsePersistenceData | Public method to parse persisted data. |
toDict | Public method to collect data to be persisted. |
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 add a package to the diagram.
Private method to arrange the shapes on the canvas.
The algorithm is borrowed from Boa Constructor.
Private method to build a dictionary of modules contained in the package.
Private method to build a dictionary of sub-packages contained in this package.
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 package diagram.
The algorithm is borrowed from Boa Constructor.
Public method to populate the class with data persisted by 'toDict()'.
Public method to initialize the object.
Public method to parse persisted data.
Public method to collect data to be persisted.