[Uml-devel] KDE/kdesdk/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Mon Feb 13 14:05:05 UTC 2006
SVN commit 509192 by okellogg:
sync with branches/KDE/3.5
M +1 -0 ChangeLog
M +1 -1 umbrello/codegenerators/javacodegenerator.cpp
M +14 -0 umbrello/codegenerators/javawriter.cpp
M +5 -0 umbrello/codegenerators/javawriter.h
--- trunk/KDE/kdesdk/umbrello/ChangeLog #509191:509192
@@ -5,6 +5,7 @@
* fixed problem with font size computation/word wrap in note widgets
http://sourceforge.net/mailarchive/forum.php?thread_id=9558795&forum_id=472
* Bugs/wishes from http://bugs.kde.org:
+* Umbrello doesnt allow some keywords for return types (115991)
* Multiplicity labels positioned incorrectly when moving entities (120598)
* Types of entity's attributes are displayed instead of their names (120742)
* Unable to delete entity from entity list in "UML Model" frame (120750)
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/javacodegenerator.cpp #509191:509192
@@ -200,7 +200,7 @@
l.append("byte");
l.append("short");
l.append("long");
- l.append("string");
+ l.append("String");
return l;
}
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/javawriter.cpp #509191:509192
@@ -649,6 +649,20 @@
return string;
}
+QStringList JavaWriter::defaultDatatypes() {
+ QStringList l;
+ l.append("int");
+ l.append("char");
+ l.append("boolean");
+ l.append("float");
+ l.append("double");
+ l.append("byte");
+ l.append("short");
+ l.append("long");
+ l.append("String");
+ return l;
+}
+
void JavaWriter::writeOperations(UMLClassifier *c, QTextStream &java) {
UMLOperationList opl;
UMLOperationList oppub,opprot,oppriv;
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/javawriter.h #509191:509192
@@ -57,6 +57,11 @@
*/
virtual Uml::Programming_Language getLanguage();
+ /**
+ * Overrides method from class CodeGenerator
+ */
+ QStringList defaultDatatypes();
+
private:
/**
More information about the umbrello-devel
mailing list