Author Topic: Display full namespaces in diagrams  (Read 3049 times)

Matt Edwards

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Display full namespaces in diagrams
« 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.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Display full namespaces in diagrams
« Reply #1 on: January 30, 2010, 01:31:40 pm »
Yes! Si! Oui! Da! Ja! Hai! Nai!

The "Ayes" have it!
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


nelligan

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Display full namespaces in diagrams
« Reply #2 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...