Book a Demo

Author Topic: turn off package name?  (Read 5931 times)

Duc-bert

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
turn off package name?
« on: July 24, 2002, 08:26:41 am »
Hi,

in the new build ( 500, Yeahh ), the class name is prefixed with the package name ( example, my long package name::objectname ) if it's being used in a different package. Can we turn this off? becuz I like to name my package long and descriptive which interferes with display of the class name.

Thanks

Molto Mike

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
    • View Profile
Re: turn off package name?
« Reply #1 on: July 24, 2002, 06:07:58 pm »
To be fair, I'll exlain that I was one of the requesters for this feature, since before the package names were shown underneath the package instead of using UML compliant scoped names.

Maybe an option can be offered to choose whether to display the package name at all or not.

Mike

Duc-bert

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: turn off package name?
« Reply #2 on: July 25, 2002, 11:48:12 am »
Yeah! I agree with the new feature when your directory is your package name ( like java's package, C++'s namespace ).
But if I just want physical separation then I don't need the package name.

manfred

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
  • I love UML
    • View Profile
Re: turn off package name?
« Reply #3 on: July 28, 2002, 06:59:58 pm »
Long time ago I asked for a change how the originating package is  shown (the subject was something like "package name obstructive). My recommendation then was to move the string
"(from xyz)" into the top compartment below the class name (and use a small font). This would be consistent with the style habits in UML development.
However, the full qualified pathname, as in build 500 should remain as an alternative. Sometimes it is very important to show the fully qualified pathname.
Geoff, if possible, I would kindly ask for above described change and a per-classifier flag to switch between "from xyz" string and fully qualified pathname.

Thank you very much in advance! :-)

Manfred

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: turn off package name?
« Reply #4 on: August 02, 2002, 06:09:15 am »
Hi,

I have enabled the turnong on or off of this display on a per diagram basis using the same option that already applies to the <from packagename> type display. It is on the diagram dialog and is a check box named "Highlight Foreign Objects". From the next build (501 or higher) on, clearing this box will cause the name to revert to the classname alone.

THis should be out next week ... we are acurrently completing work on a new automation interface with read/write capability - and there is some extensive testing to be done first.

Hope this will help,

Geoff Sparks

manfred

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
  • I love UML
    • View Profile
Re: turn off package name?
« Reply #5 on: August 02, 2002, 06:31:28 am »
Thanks Geoff for looking into that.

If it is not too much to ask for, the ideal solution would be two-fold:
1. The global option to turn the "from package" annotation on
   and off for the whole diagram. (and a relocation of the
   "from package" message from below the classifier symbol
   into the top compartment)
2. A per-classifier option to show either the full path name or
   only basic classifier name (with the basic name being the
   default).

I appologize on being persistent, but these features would really
be a great help in complex diagrams.

Thank you very much in advance,

Manfred