umbrello/umbrello
ownedhierarchicalcodeblock.h
Go to the documentation of this file.
35 OwnedHierarchicalCodeBlock (UMLObject * parent, CodeDocument * parentDoc, const QString &start="", const QString &end="", const QString &comment="");
class OwnedHierarchicalCodeBlock A "chunk" of code within the code document that is "owned" by some u...
Definition: ownedhierarchicalcodeblock.h:26
void syncToParent()
Definition: ownedhierarchicalcodeblock.cpp:98
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)=0
Save the XMI representation of this object.
virtual void setAttributesFromNode(QDomElement &element)
set the class attributes of this object from the passed element node.
Definition: ownedhierarchicalcodeblock.cpp:83
Describes any codeblock which is 'owned' by a UMLobject of some sort and should be in sync with that ...
Definition: ownedcodeblock.h:26
virtual ~OwnedHierarchicalCodeBlock()
Empty Destructor.
Definition: ownedhierarchicalcodeblock.cpp:29
virtual void loadFromXMI(QDomElement &root)=0
load params from the appropriate XMI element node.
virtual void release()
causes the text block to release all of its connections and any other text blocks that it 'owns'...
Definition: ownedhierarchicalcodeblock.cpp:38
virtual void setAttributesFromObject(TextBlock *obj)
set the class attributes from a passed object
Definition: ownedhierarchicalcodeblock.cpp:47
Definition: hierarchicalcodeblock.h:22
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
virtual void updateContent()=0
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
set attributes of the node that represents this class in the XMI document.
Definition: ownedhierarchicalcodeblock.cpp:57
CodeDocument * getParentDocument()
Return the parent code document.
Definition: ownedhierarchicalcodeblock.cpp:93
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.
Definition: ownedhierarchicalcodeblock.cpp:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.