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

javacodegenerationpolicy.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 JAVACODEGENERATIONPOLICY_H
13 #define JAVACODEGENERATIONPOLICY_H
14
15 #include "codegenpolicyext.h"
16 #include "codegenerationpolicy.h"
17
18 #include <QString>
19
20 class CodeGenerationPolicyPage;
21
22 class JavaCodeGenerationPolicy : public CodeGenPolicyExt
23 {
24 Q_OBJECT
25 public:
26
27 //JavaCodeGenerationPolicy(CodeGenerationPolicy * defaults = 0);
28 JavaCodeGenerationPolicy();
29
30 virtual ~JavaCodeGenerationPolicy();
31
32 void setAutoGenerateAttribAccessors(bool var);
33 bool getAutoGenerateAttribAccessors();
34
35 void setAutoGenerateAssocAccessors(bool var);
36 bool getAutoGenerateAssocAccessors();
37
38 virtual void setDefaults(CodeGenPolicyExt * defaults, bool emitUpdateSignal = true);
39 virtual void setDefaults(bool emitUpdateSignal = true);
40
41 CodeGenerationPolicyPage * createPage (QWidget *parent = 0, const char * name = 0);
42
43 private:
44
45 CodeGenerationPolicy *m_commonPolicy;
46
47 void init();
48 };
49
50 #endif // JAVACODEGENERATIONPOLICY_H
JavaCodeGenerationPolicy::init
void init()
Definition: javacodegenerationpolicy.cpp:162
UmbrelloSettings::autoGenerateAssocAccessorsJava
static bool autoGenerateAssocAccessorsJava()
Definition: umbrellosettings.h:2544
Settings::CodeGenerationState::javaCodeGenerationState
JavaCodeGenerationState javaCodeGenerationState
Definition: optionstate.h:255
JavaCodeGenerationPolicy::getAutoGenerateAssocAccessors
bool getAutoGenerateAssocAccessors()
Definition: javacodegenerationpolicy.cpp:84
JavaCodeGenerationPolicy::createPage
CodeGenerationPolicyPage * createPage(QWidget *parent=0, const char *name=0)
Definition: javacodegenerationpolicy.cpp:154
JavaCodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenPolicyExt *defaults, bool emitUpdateSignal=true)
Definition: javacodegenerationpolicy.cpp:94
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2283
umbrellosettings.h
JavaCodeGenerationPolicyPage
Definition: javacodegenerationpolicypage.h:34
CodeGenerationPolicy::setDefaults
virtual void setDefaults(CodeGenerationPolicy *defaults, bool emitUpdateSignal=true)
Definition: codegenerationpolicy.cpp:429
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
optionstate.h
Settings::OptionState::codeGenerationState
CodeGenerationState codeGenerationState
Definition: optionstate.h:331
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
JavaCodeGenerationPolicy::setAutoGenerateAssocAccessors
void setAutoGenerateAssocAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:65
UMLApp::generator
CodeGenerator * generator() const
Definition: uml.cpp:2351
JavaCodeGenerator::setCreateANTBuildFile
void setCreateANTBuildFile(bool buildIt)
Definition: javacodegenerator.cpp:225
UmbrelloSettings::autoGenerateAttributeAccessorsJava
static bool autoGenerateAttributeAccessorsJava()
Definition: umbrellosettings.h:2516
UmbrelloSettings::buildANTDocumentJava
static bool buildANTDocumentJava()
Definition: umbrellosettings.h:2572
codegenerationpolicy.h
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:31
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
JavaCodeGenerationPolicy::~JavaCodeGenerationPolicy
virtual ~JavaCodeGenerationPolicy()
Definition: javacodegenerationpolicy.cpp:47
javacodegenerationpolicy.h
javacodegenerator.h
Settings::OptionState
Definition: optionstate.h:314
JavaCodeGenerationPolicy::setAutoGenerateAttribAccessors
void setAutoGenerateAttribAccessors(bool var)
Definition: javacodegenerationpolicy.cpp:55
uml.h
JavaCodeGenerationPolicy::getAutoGenerateAttribAccessors
bool getAutoGenerateAttribAccessors()
Definition: javacodegenerationpolicy.cpp:75
codegenpolicyext.h
Settings::CodeGenerationState::JavaCodeGenerationState::autoGenerateAttributeAccessors
bool autoGenerateAttributeAccessors
Definition: optionstate.h:236
JavaCodeGenerator
Definition: javacodegenerator.h:28
CodeGenerator
Definition: codegenerator.h:57
javacodegenerationpolicypage.h
JavaCodeGenerationPolicy::JavaCodeGenerationPolicy
JavaCodeGenerationPolicy()
Definition: javacodegenerationpolicy.cpp:37
JavaCodeGenerationPolicy
Definition: javacodegenerationpolicy.h:23
JavaCodeGenerationPolicy::m_commonPolicy
CodeGenerationPolicy * m_commonPolicy
Definition: javacodegenerationpolicy.h:45
Settings::CodeGenerationState::JavaCodeGenerationState::autoGenerateAssocAccessors
bool autoGenerateAssocAccessors
Definition: optionstate.h:237