umbrello 2.32.3 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
Ui::JavaCodeGenerationFormBase
Definition: ui_javacodegenerationformbase.h:236
JavaCodeGenerationFormBase
Definition: javacodegenerationpolicypage.h:24
Ui_JavaCodeGenerationFormBase::m_accessorScopeCB
KComboBox * m_accessorScopeCB
Definition: ui_javacodegenerationformbase.h:43
JavaCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: javacodegenerationpolicy.cpp:84
CodeGenerationPolicy::setAssociationFieldScope
void setAssociationFieldScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:393
Ui_JavaCodeGenerationFormBase::m_generateConstructors
QCheckBox * m_generateConstructors
Definition: ui_javacodegenerationformbase.h:38
JavaCodeGenerationPolicyPage::~JavaCodeGenerationPolicyPage
virtual ~JavaCodeGenerationPolicyPage()
Definition: javacodegenerationpolicypage.cpp:42
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2283
CodeGenerationPolicy::setAutoGenerateConstructors
void setAutoGenerateConstructors(bool var)
Definition: codegenerationpolicy.cpp:355
CodeGenerationPolicy::setAttributeAccessorScope
void setAttributeAccessorScope(Uml::Visibility::Enum var)
Definition: codegenerationpolicy.cpp:374
Ui_JavaCodeGenerationFormBase::setupUi
void setupUi(QWidget *JavaCodeGenerationFormBase)
Definition: ui_javacodegenerationformbase.h:53
JavaCodeGenerationFormBase::JavaCodeGenerationFormBase
JavaCodeGenerationFormBase(QWidget *parent)
Definition: javacodegenerationpolicypage.h:26
Ui_JavaCodeGenerationFormBase::m_generateAssocAccessors
QCheckBox * m_generateAssocAccessors
Definition: ui_javacodegenerationformbase.h:39
JavaCodeGenerationPolicyPage
Definition: javacodegenerationpolicypage.h:34
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
Ui_JavaCodeGenerationFormBase::m_SelectCommentStyle
KComboBox * m_SelectCommentStyle
Definition: ui_javacodegenerationformbase.h:50
JavaCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:65
CodeGenerationPolicyPage::m_parentPolicy
CodeGenPolicyExt * m_parentPolicy
Definition: codegenerationpolicypage.h:42
Ui_JavaCodeGenerationFormBase::m_assocFieldScopeCB
KComboBox * m_assocFieldScopeCB
Definition: ui_javacodegenerationformbase.h:46
CodeGenerationPolicy::setCommentStyle
void setCommentStyle(CommentStyle new_var)
Definition: codegenerationpolicy.cpp:94
JavaCodeGenerationPolicyPage::form
JavaCodeGenerationFormBase * form
Definition: javacodegenerationpolicypage.h:44
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
Ui_JavaCodeGenerationFormBase::m_generateAttribAccessors
QCheckBox * m_generateAttribAccessors
Definition: ui_javacodegenerationformbase.h:40
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:31
CodeGenerationPolicy::getCommentStyle
CommentStyle getCommentStyle()
Definition: codegenerationpolicy.cpp:104
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
Uml::Visibility::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:152
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
ui_javacodegenerationformbase.h
JavaCodeGenerationPolicy
Definition: javacodegenerationpolicy.h:23