Summary: | java import - associations not setup correctly, duplicate classes created | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | JP Fournier <jfournier121> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
test classes for import described in bug report
patch to resolve dependencies on java import |
Description
JP Fournier
2006-07-24 01:50:42 UTC
Created attachment 17104 [details]
test classes for import described in bug report
test.tar.gz is agziped tar of the classes described in this bug report
Created attachment 17105 [details]
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
SVN commit 565676 by okellogg:
Apply attachment id=17105 from JP Fournier 2006-07-24
> 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
>
Kudos to JP for his many JavaImport fixes (to appear in version 1.5.4.)
BUG:131270
M +5 -4 ChangeLog
M +26 -11 umbrello/codeimport/import_utils.cpp
M +8 -2 umbrello/codeimport/import_utils.h
M +150 -5 umbrello/codeimport/javaimport.cpp
M +33 -0 umbrello/codeimport/javaimport.h
|