umbrello: umbrello/codegenerators/java/javaclassdeclarationblock.h Source File

umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

javaclassdeclarationblock.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8 * copyright (C) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef JAVACLASSDECLARATIONBLOCK_H
13 #define JAVACLASSDECLARATIONBLOCK_H
14
15 #include "javaclassifiercodedocument.h"
16 #include "ownedhierarchicalcodeblock.h"
17
18 #include <QString>
19
20 class JavaClassDeclarationBlock : public OwnedHierarchicalCodeBlock
21 {
22 Q_OBJECT
23 public:
24
28 explicit JavaClassDeclarationBlock (JavaClassifierCodeDocument * parentDoc, const QString &start = QString(), const QString &endText = QLatin1String("}"), const QString &comment = QString());
29
33 virtual ~JavaClassDeclarationBlock ();
34
38 virtual void saveToXMI1 (QDomDocument & doc, QDomElement & root);
39
43 virtual void loadFromXMI1 (QDomElement & root);
44
48 void updateContent ();
49
50 private:
51
52 void init (JavaClassifierCodeDocument * parent, const QString &comment);
53
54 };
55
56 #endif // JAVACLASSDECLARATIONBLOCK_H
JavaClassDeclarationBlock
Definition: javaclassdeclarationblock.h:21
JavaClassDeclarationBlock::JavaClassDeclarationBlock
JavaClassDeclarationBlock(JavaClassifierCodeDocument *parentDoc, const QString &start=QString(), const QString &endText=QLatin1String("}"), const QString &comment=QString())
Definition: javaclassdeclarationblock.cpp:20
JavaClassDeclarationBlock::loadFromXMI1
virtual void loadFromXMI1(QDomElement &root)
Definition: javaclassdeclarationblock.cpp:43
JavaClassDeclarationBlock::init
void init(JavaClassifierCodeDocument *parent, const QString &comment)
Definition: javaclassdeclarationblock.cpp:137
JavaClassDeclarationBlock::~JavaClassDeclarationBlock
virtual ~JavaClassDeclarationBlock()
Definition: javaclassdeclarationblock.cpp:26
JavaClassDeclarationBlock::saveToXMI1
virtual void saveToXMI1(QDomDocument &doc, QDomElement &root)
Definition: javaclassdeclarationblock.cpp:33
JavaClassDeclarationBlock::updateContent
void updateContent()
Definition: javaclassdeclarationblock.cpp:51
JavaClassifierCodeDocument
Definition: javaclassifiercodedocument.h:33
OwnedHierarchicalCodeBlock
Definition: ownedhierarchicalcodeblock.h:27
javaclassifiercodedocument.h
ownedhierarchicalcodeblock.h