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 |
None |
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. |
buildItemDataString | Public method to build a string to persist the specific item data. |
isExternal | Method returning the external state. |
paint | Public method to paint the item in local coordinates. |
parseItemDataString | Public method to parse the given persistence data. |
setModel | Method to set the class model. |
None |
Constructor
Private method to calculate the size of the class item.
Private method to create the text items of the class item.
Public method to build a string to persist the specific item data.
This string must start with ", " and should be built like "attribute=value" with pairs separated by ", ". value must not contain ", " or newlines.
Method returning the external state.
Public method to paint the item in local coordinates.
Public method to parse the given persistence data.
Method to set the class model.
Class implementing the class model.
None |
None |
ClassModel | Constructor |
addAttribute | Method to add an attribute to the class model. |
addMethod | Method to add a method to the class model. |
getAttributes | Method to retrieve the attributes of the class. |
getMethods | Method to retrieve the methods of the class. |
None |
Constructor
Method to add an attribute to the class model.
Method to add a method to the class model.
Method to retrieve the attributes of the class.
Method to retrieve the methods of the class.