javaclassdeclarationblock.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef JAVACLASSDECLARATIONBLOCK_H
00018 #define JAVACLASSDECLARATIONBLOCK_H
00019
00020 #include <qstring.h>
00021
00022 #include "javaclassifiercodedocument.h"
00023 #include "../ownedhierarchicalcodeblock.h"
00024
00025 class JavaClassDeclarationBlock : public OwnedHierarchicalCodeBlock
00026 {
00027 Q_OBJECT
00028 public:
00029
00030
00031
00032
00036 explicit JavaClassDeclarationBlock ( JavaClassifierCodeDocument * parentDoc, const QString &start = "", const QString &endText = "}", const QString &comment = "");
00037
00041 virtual ~JavaClassDeclarationBlock ( );
00042
00046 virtual void saveToXMI ( QDomDocument & doc, QDomElement & root );
00047
00051 virtual void loadFromXMI ( QDomElement & root );
00052
00053 protected:
00054
00058 void updateContent ( );
00059
00060 private:
00061
00062 void init (JavaClassifierCodeDocument * parent, const QString &comment);
00063
00064 };
00065
00066 #endif // JAVACLASSDECLARATIONBLOCK_H
This file is part of the documentation for umbrello Version 3.1.0.