1
Suggestions and Requests / Re: Display full namespaces in diagrams
« on: February 12, 2010, 01:25:31 am »
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...
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...