Module implementing an UML like class item.
None |
ClassItem | Class implementing an UML like class item. |
ClassModel | Class implementing the class model. |
None |
Class implementing an UML like class item.
ItemType |
fromDict | Class method to create a class item from persisted data. |
ClassItem | Constructor |
__calculateSize | Private method to calculate the size of the class item. |
__createTexts | Private method to create the text items of the class item. |
isExternal | Public method returning the external state. |
paint | |
parseItemDataString | |
setModel | Public method to set the class model. |
toDict | Public method to collect data to be persisted. |
None |
Class method to create a class item from persisted data.
Constructor
Private method to calculate the size of the class item.
Private method to create the text items of the class item.
Public method returning the external state.
Public method to set the class model.
Public method to collect data to be persisted.
Class implementing the class model.
None |
None |
ClassModel | Constructor |
addClassAttribute | Public method to add a class attribute to the class model. |
addInstanceAttribute | Public method to add an instance attribute to the class model. |
addMethod | Public method to add a method to the class model. |
getClassAttributes | Public method to retrieve the global attributes of the class. |
getInstanceAttributes | Public method to retrieve the attributes of the class. |
getMethods | Public method to retrieve the methods of the class. |
None |
Constructor
Public method to add a class attribute to the class model.
Public method to add an instance attribute to the class model.
Public method to add a method to the class model.
Public method to retrieve the global attributes of the class.
Public method to retrieve the attributes of the class.
Public method to retrieve the methods of the class.