[Uml-devel] [Bug 131270] java import - associations not setup correctly, duplicate classes created

JP Fournier jfournier121 at rogers.com
Mon Jul 24 00:15:36 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=131270         




------- Additional Comments From jfournier121 rogers com  2006-07-24 02:15 -------
Created an attachment (id=17105)
 --> (http://bugs.kde.org/attachment.cgi?id=17105&action=view)
patch to resolve dependencies on java import

The attached patch solves the issues described in the bug report.

Patch was created with this command:
 diff -c svn/kdesdk/umbrello/umbrello/codeimport/
kdesdk/umbrello/umbrello/codeimport/ > javaresolve.diff

Basically the idea is that when a new type in encountered an attempt is made to
import the new type.  This way associations and packages are created correctly.
 Most of this change is limited to the java import class, however in
import_utils:

- added a new version of insertAttribute that accepts a  UMLClassifier* instead
of a string
- adjusted createGeneralization to be able to deal with realization 

regards

jp




More information about the umbrello-devel mailing list