[Uml-devel] [Bug 130793] importing java subinterface before superinterface results in superinterface not being treated as an interface

JP Fournier jfournier121 at rogers.com
Sat Jul 15 11:58:04 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         




------- Additional Comments From jfournier121 rogers com  2006-07-15 13:58 -------
I took a stab at solving this bug using approach #1. diff is below.

regards

jp

jape puma:~/tmp/uml/kdesdk-561582$ diff -c umbrello-561582/umbrello/import_utils.cpp umbrello/umbrello/import_utils.cpp
*** umbrello-561582/umbrello/import_utils.cpp   2006-07-15 07:24:49.000000000 -0400
--- umbrello/umbrello/import_utils.cpp  2006-07-15 07:37:24.000000000 -0400
***************
*** 321,326 ****
--- 321,328 ----
  }

  void createGeneralization(UMLClassifier *child, UMLClassifier *parent) {
+     // if the child is an interface, so is the parent.
+     parent->setInterface( child->isInterface());
      UMLAssociation *assoc = new UMLAssociation( Uml::at_Generalization,
                              child, parent );
      UMLDoc *umldoc = UMLApp::app()->getDocument();




More information about the umbrello-devel mailing list