[Uml-devel] branches/KDE/3.5/kdesdk/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Jul 15 23:21:51 UTC 2006
SVN commit 562840 by okellogg:
createGeneralization(UMLClassifier*, UMLClassifier*): If the child is an
interface then the parent must also be an interface.
Thanks to JP Fournier for helping.
BUG:130793
M +2 -0 ChangeLog
M +3 -0 umbrello/import_utils.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #562839:562840
@@ -3,6 +3,8 @@
* Bugs/wishes from http://bugs.kde.org:
* Fix crash when importing classes from a java file (129107, 130093)
* Crash after single click on the "UML Model" tree window (126560/129252)
+* Importing java subinterface before superinterface results in superinterface
+ not being treated as an interface (130793)
Version 1.5.3
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/import_utils.cpp #562839:562840
@@ -321,6 +321,9 @@
}
void createGeneralization(UMLClassifier *child, UMLClassifier *parent) {
+ // if the child is an interface, so is the parent.
+ if (child->isInterface())
+ parent->setInterface(true);
UMLAssociation *assoc = new UMLAssociation( Uml::at_Generalization,
child, parent );
UMLDoc *umldoc = UMLApp::app()->getDocument();
More information about the umbrello-devel
mailing list