[Uml-devel] [Bug 56184] Umbrello XMI file format doesn't conform with uml13.dtd
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Dec 31 16:42:01 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=56184
------- Additional Comments From okellogg users sourceforge net 2006-01-01 01:41 -------
SVN commit 492999 by okellogg:
Add Java code import (still work in progress.)
CCBUG:56184
M +1 -0 Makefile.am
AM javaimport.cpp [License: GPL (v2+)]
AM javaimport.h [License: GPL (v2+)]
M +5 -0 uml.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/Makefile.am #492998:492999
@ -52,6 +52,7 @
idlimport.cpp \
import_utils.cpp \
infowidget.cpp \
+javaimport.cpp \
kstartuplogo.cpp \
linepath.cpp \
linkwidget.cpp \
** branches/KDE/3.5/kdesdk/umbrello/umbrello/javaimport.cpp #property svn:executable
+ *
** branches/KDE/3.5/kdesdk/umbrello/umbrello/javaimport.h #property svn:executable
+ *
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/uml.cpp #492998:492999
@ -51,6 +51,7 @
#include "cppimport.h"
#include "idlimport.h"
#include "adaimport.h"
+#include "javaimport.h"
#include "docwindow.h"
#include "codegenerator.h"
#include "generatorinfo.h"
@ -1420,6 +1421,8 @
QString preselectedExtension;
if (m_activeLanguage == "IDL") {
preselectedExtension = i18n("*.idl|IDL Files (*.idl)");
+ } else if (m_activeLanguage == "Java") {
+ preselectedExtension = i18n("*.java|Java Files (*.java)");
} else if (m_activeLanguage == "Ada") {
preselectedExtension = i18n("*.ads *.ada|Ada Files (*.ads *.ada)");
} else {
@ -1432,6 +1435,8 @
const QString& firstFile = fileList.first();
if (firstFile.endsWith(".idl"))
classImporter = new IDLImport();
+ else if (firstFile.endsWith(".java"))
+ classImporter = new JavaImport();
else if (firstFile.contains( QRegExp("\\.ad[sba]$") ))
classImporter = new AdaImport();
else
More information about the umbrello-devel
mailing list