Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Matt Edwards on January 30, 2010, 09:54:52 am
-
Display full namespaces in diagrams, not just the parent package name, next to any given element. Would be helpful in dialog boxes as well, where lists of objects are presented.
-
Yes! Si! Oui! Da! Ja! Hai! Nai!
The "Ayes" have it!
-
Absolutely! Yes! I TOTALLY agree!
Having just the parent package name is USELESS in complex system where some sub-packages have the same name. This brings lot of confusion because we never know for sure where the class (or element) come from. Isn't the goal of UML to keep things clear?
One (very annoying) workaround is to "flat" our packages. For example, instead of 2 sub-packages like this:
PackageA
+ PackageB
- MyClass1
+ PackageC
- MyClass2
...we have to simulate the structure in packages at same level, using a dot character to separate logical levels:
PackageA.PackageB
- MyClass1
PackageA.PackageB.PackageC
- MyClass2
This seems to be the only way to have a kind of full package path. But this approach make things horrible on code generation...