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

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

javacodegenerationpolicypage.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) 2003-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef JAVACODEGENERATIONPOLICYPAGE_H
13 #define JAVACODEGENERATIONPOLICYPAGE_H
14
15 #include "codegenerationpolicypage.h"
16 #include "ui_javacodegenerationformbase.h"
17 #include "javacodegenerationpolicy.h"
18
23 class JavaCodeGenerationFormBase : public QWidget, public Ui::JavaCodeGenerationFormBase
24 {
25 public:
26 explicit JavaCodeGenerationFormBase(QWidget *parent) : QWidget(parent)
27 {
28 setupUi(this);
29 }
30 };
31
32
33 class JavaCodeGenerationPolicyPage : public CodeGenerationPolicyPage
34 {
35 Q_OBJECT
36 public:
37
38 explicit JavaCodeGenerationPolicyPage (QWidget *parent=0, const char *name=0, JavaCodeGenerationPolicy * policy = 0);
39
40 virtual ~JavaCodeGenerationPolicyPage();
41
42 protected:
43
44 JavaCodeGenerationFormBase * form;
45
46 public slots:
47
48 void apply();
49
50 };
51
52 #endif
53
JavaCodeGenerationFormBase
Definition: javacodegenerationpolicypage.h:23
JavaCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: javacodegenerationpolicy.cpp:84
CodeGenerationPolicy::setAssociationFieldScope
void setAssociationFieldScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:393
JavaCodeGenerationPolicyPage::~JavaCodeGenerationPolicyPage
virtual ~JavaCodeGenerationPolicyPage()
Definition: javacodegenerationpolicypage.cpp:42
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2274
CodeGenerationPolicy::setAutoGenerateConstructors
void setAutoGenerateConstructors(bool var)
Definition: codegenerationpolicy.cpp:355
CodeGenerationPolicy::setAttributeAccessorScope
void setAttributeAccessorScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:374
JavaCodeGenerationFormBase::JavaCodeGenerationFormBase
JavaCodeGenerationFormBase(QWidget *parent)
Definition: javacodegenerationpolicypage.h:35
JavaCodeGenerationPolicyPage
Definition: javacodegenerationpolicypage.h:33
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
codegenerationpolicypage.h
CodeGenerationPolicy::CommentStyle
CommentStyle
Definition: codegenerationpolicy.h:50
CodeGenerationPolicy::getAssociationFieldScope
Uml::Visibility::Enum getAssociationFieldScope()
Definition: codegenerationpolicy.cpp:403
JavaCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:65
CodeGenerationPolicyPage::m_parentPolicy
CodeGenPolicyExt * m_parentPolicy
Definition: codegenerationpolicypage.h:42
CodeGenerationPolicy::setCommentStyle
void setCommentStyle(CommentStyle new_var)
Definition: codegenerationpolicy.cpp:94
JavaCodeGenerationPolicyPage::form
JavaCodeGenerationFormBase * form
Definition: javacodegenerationpolicypage.h:44
CodeGenerationPolicy
Definition: codegenerationpolicy.h:29
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:30
CodeGenerationPolicy::getCommentStyle
CommentStyle getCommentStyle()
Definition: codegenerationpolicy.cpp:104
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
Uml::Visibility::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:169
javacodegenerationpolicy.h
JavaCodeGenerationPolicyPage::apply
void apply()
Definition: javacodegenerationpolicypage.cpp:46
JavaCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:55
uml.h
JavaCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: javacodegenerationpolicy.cpp:75
CodeGenerationPolicy::getAttributeAccessorScope
Uml::Visibility::Enum getAttributeAccessorScope()
Definition: codegenerationpolicy.cpp:384
JavaCodeGenerationPolicyPage::JavaCodeGenerationPolicyPage
JavaCodeGenerationPolicyPage(QWidget *parent=0, const char *name=0, JavaCodeGenerationPolicy *policy=0)
Definition: javacodegenerationpolicypage.cpp:21
CodeGenerationPolicy::getAutoGenerateConstructors
bool getAutoGenerateConstructors()
Definition: codegenerationpolicy.cpp:365
javacodegenerationpolicypage.h
JavaCodeGenerationPolicy
Definition: javacodegenerationpolicy.h:22