Version: 1.5.1 (using KDE KDE 3.5.3) Installed from: Fedora RPMs Compiler: gcc version 4.0.2 20051125 (Red Hat 4.0.2-8) OS: Linux When Java is selected as the main language, it is impossible to make an association between enums. This is something that is possible to do with Java 5, yet not with the modelling tool.
I confirm (but dont hold your breath for the implementation - it entails earth shaking changes!)
not yet? :( I'm using win version of KDE, v4.3.2, Umbrello v2.3.2. When I try to import Java enum source files then it fails..
Does it make sense to allow associations between enum's also for c++ and other languages ? If not a language specific AssocRules::m_AssocRules array containing this dedicated rule is required.
(In reply to Ralf Habacker from comment #3) > Does it make sense to allow associations between enum's also for c++ and > other languages ? If not a language specific AssocRules::m_AssocRules array > containing this dedicated rule is required. AFAICT other languages do not support this; a language specific rule is in order.
What kind of associations should be possible between enums: association, uniassociation and dependency ?
Git commit e3a7cce6ec6906c361aa8ce91dd73f67af1e790a by Ralf Habacker. Committed on 16/01/2017 at 02:23. Pushed by habacker into branch 'master'. Add support for language specific association rules. The class Assoc_Rule (former struct) now have an attribute 'language' with which 'all' or a dedicated language can be specified. This attribute is checked in the related AssocRule class methods. Java specific rules will be added in a separate commit. M +172 -145 umbrello/assocrules.cpp M +5 -2 umbrello/assocrules.h https://commits.kde.org/umbrello/e3a7cce6ec6906c361aa8ce91dd73f67af1e790a
Git commit 92e1e9ab1861afe5c0b80e14daa08e6f2498b8b5 by Ralf Habacker. Committed on 16/01/2017 at 19:16. Pushed by habacker into branch 'master'. Fixup of AssocRules language support. M +1 -3 umbrello/assocrules.cpp M +2 -1 umbrello/assocrules.h https://commits.kde.org/umbrello/92e1e9ab1861afe5c0b80e14daa08e6f2498b8b5
Git commit 6826e84a63c4a45cbf2612c4fd434c31746e59db by Ralf Habacker. Committed on 15/01/2017 at 20:12. Pushed by habacker into branch 'Applications/16.12'. Add support for language specific association rules. The class Assoc_Rule (former struct) now have an attribute 'language' with which all languages or a dedicated language can be specified. This attribute is now checked in the related AssocRule class methods. M +172 -145 umbrello/assocrules.cpp M +5 -2 umbrello/assocrules.h M +1 -0 umbrello/toolbarstate.cpp https://commits.kde.org/umbrello/6826e84a63c4a45cbf2612c4fd434c31746e59db
Git commit 1e48acba53a0fc1760788d395edaca0b90e28cec by Ralf Habacker. Committed on 13/03/2017 at 13:37. Pushed by habacker into branch 'master'. Fix 'Java enum association fails'. To fix this issue an associaton rule to allow associations between enums for java language has been added. FIXED-IN: 2.21.80 (KDE Applications 17.03.80) M +3 -0 umbrello/assocrules.cpp M +1 -1 umbrello/assocrules.h https://commits.kde.org/umbrello/1e48acba53a0fc1760788d395edaca0b90e28cec