OwnedHierarchicalCodeBlock Class Reference
class OwnedHierarchicalCodeBlock A "chunk" of code within the code document that is "owned" by some umlobject. More...
#include <ownedhierarchicalcodeblock.h>
Inheritance diagram for OwnedHierarchicalCodeBlock:

Public Slots | |
| void | syncToParent () |
Public Member Functions | |
| OwnedHierarchicalCodeBlock (UMLObject *parent, CodeDocument *parentDoc, const QString &start="", const QString &end="", const QString &comment="") | |
| constructor with QString so we can create & populate it in one step. | |
| virtual | ~OwnedHierarchicalCodeBlock () |
| Empty Destructor. | |
| CodeDocument * | getParentDocument () |
| virtual void | saveToXMI (QDomDocument &doc, QDomElement &root)=0 |
| Save the XMI representation of this object. | |
| virtual void | loadFromXMI (QDomElement &root)=0 |
| load params from the appropriate XMI element node. | |
Protected Member Functions | |
| virtual void | release () |
| causes the text block to release all of its connections and any other text blocks that it 'owns'. | |
| virtual void | setAttributesOnNode (QDomDocument &doc, QDomElement &blockElement) |
| set attributes of the node that represents this class in the XMI document. | |
| virtual void | setAttributesFromNode (QDomElement &element) |
| set the class attributes of this object from the passed element node. | |
| virtual void | setAttributesFromObject (TextBlock *obj) |
| set the class attributes from a passed object | |
| virtual void | updateContent ()=0 |
| This is the method called from within syncToParent. | |
Detailed Description
class OwnedHierarchicalCodeBlock A "chunk" of code within the code document that is "owned" by some umlobject.This is an abstract class that should be inherited.
Definition at line 30 of file ownedhierarchicalcodeblock.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||
|
constructor with QString so we can create & populate it in one step.
Definition at line 34 of file ownedhierarchicalcodeblock.cpp. |
|
|
Empty Destructor.
Definition at line 40 of file ownedhierarchicalcodeblock.cpp. |
Member Function Documentation
|
||||||||||||
|
Save the XMI representation of this object.
Reimplemented from CodeBlockWithComments. |
|
|
load params from the appropriate XMI element node.
Reimplemented from CodeBlockWithComments. |
|
|
causes the text block to release all of its connections and any other text blocks that it 'owns'. needed to be called prior to deletion of the textblock. Reimplemented from OwnedCodeBlock. Definition at line 53 of file ownedhierarchicalcodeblock.cpp. References OwnedCodeBlock::release(). |
|
||||||||||||
|
set attributes of the node that represents this class in the XMI document.
Reimplemented from OwnedCodeBlock. Definition at line 64 of file ownedhierarchicalcodeblock.cpp. References OwnedCodeBlock::getParentObject(), UMLRole::getRole(), and OwnedCodeBlock::setAttributesOnNode(). |
|
|
set the class attributes of this object from the passed element node.
Reimplemented from OwnedCodeBlock. Definition at line 89 of file ownedhierarchicalcodeblock.cpp. References OwnedCodeBlock::setAttributesFromNode(). |
|
|
set the class attributes from a passed object
Reimplemented from OwnedCodeBlock. Definition at line 58 of file ownedhierarchicalcodeblock.cpp. References OwnedCodeBlock::setAttributesFromObject(). |
|
|
This is the method called from within syncToParent.
Implements OwnedCodeBlock. |
The documentation for this class was generated from the following files:
