Book a Demo

Author Topic: Full namespace in diagrams  (Read 2364 times)

metalmasterx

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Full namespace in diagrams
« on: May 12, 2005, 11:15:52 pm »
Hello,

you can set a package to be "namespace root". Sub-Packages automatically become sub-namespaces. This works quite well, especially when generating code (c#, in my case).

# MyPackage (package, namespace root)
 # Level1Name (package)
   # Level2Name (package)
       MyClass   (class)

In the generated code, the namespace of MyClass is set to Level1Name.Level2Name. Thus, the full name of this class is Level1Name.Level2Name.MyClass

Is it possible to display this name in the diagrams? When I add MyClass as a simple link to a diagram in another packe, currently, it only displays:

Level2Name::MyClass

I'd like to have something like

Level1Name::Level2Name::MyClass

This would help a lot in larger projects, especially when there are multiple classes with the same name.
Is there any way to achieve this?

Best regards.