umbrello  2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
javacodegenerator.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 JAVACODEGENERATOR_H
13 #define JAVACODEGENERATOR_H
14 
15 #include "codeviewerstate.h"
16 #include "advancedcodegenerator.h"
17 #include "codeblockwithcomments.h"
19 #include "javaantcodedocument.h"
21 #include "umldoc.h"
22 
23 #include <QString>
24 
25 class CodeViewerDialog;
26 
28 {
29  Q_OBJECT
30 public:
31 
33  virtual ~JavaCodeGenerator();
34 
35  void setCreateANTBuildFile(bool buildIt);
36  bool getCreateANTBuildFile();
37 
39 
41 
42  static QString getListFieldClassName();
43 
44  virtual CodeViewerDialog * getCodeViewerDialog(QWidget* parent, CodeDocument * doc,
46 
48 
50 
52 
53  virtual QStringList defaultDatatypes();
54 
55  static QString fixTypeName(const QString &string);
56 
57  virtual QStringList reservedKeywords() const;
58 
59 protected:
60 
61 // /**
62 // * Create the codeblock that will represent the class declaration
63 // * for this classifier.
64 // */
65 // CodeBlockWithComments * createClassDecl (UMLClassifier *c, JavaClassifierCodeDocument * doc);
66 
68 
69 private:
70 
72 
73 };
74 
75 #endif // JAVACODEGENERATOR_H
Definition: advancedcodegenerator.h:22
Definition: codedocument.h:34
Definition: codeviewerdialog.h:28
Definition: javaantcodedocument.h:27
Definition: javacodegenerationpolicy.h:23
Definition: javacodegenerator.h:28
bool getAutoGenerateAssocAccessors()
Definition: javacodegenerator.cpp:274
bool getAutoGenerateAttribAccessors()
Definition: javacodegenerator.cpp:266
virtual CodeViewerDialog * getCodeViewerDialog(QWidget *parent, CodeDocument *doc, Settings::CodeViewerState &state)
Definition: javacodegenerator.cpp:246
virtual QStringList reservedKeywords() const
Definition: javacodegenerator.cpp:357
static QString getListFieldClassName()
Definition: javacodegenerator.cpp:282
bool getCreateANTBuildFile()
Definition: javacodegenerator.cpp:237
void setCreateANTBuildFile(bool buildIt)
Definition: javacodegenerator.cpp:225
JavaANTCodeDocument * newANTCodeDocument()
Definition: javacodegenerator.cpp:307
JavaCodeGenerator()
Definition: javacodegenerator.cpp:190
virtual QStringList defaultDatatypes()
Definition: javacodegenerator.cpp:328
JavaCodeGenerationPolicy * getJavaPolicy()
Definition: javacodegenerator.cpp:258
virtual ~JavaCodeGenerator()
Definition: javacodegenerator.cpp:208
Uml::ProgrammingLanguage::Enum language() const
Definition: javacodegenerator.cpp:216
bool m_createANTBuildFile
Definition: javacodegenerator.h:71
CodeDocument * newClassifierCodeDocument(UMLClassifier *classifier)
Definition: javacodegenerator.cpp:317
static QString fixTypeName(const QString &string)
Definition: javacodegenerator.cpp:292
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
Enum
Definition: basictypes.h:305