[Uml-devel] [Bug 130793] importing java subinterface before superinterface results in superinterface not being treated as an interface
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Jul 15 23:21:56 UTC 2006
------- 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=130793
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2006-07-16 01:21 -------
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