Book a Demo

Author Topic: Suppressing Object Classifier in Name Compartment  (Read 2189 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Suppressing Object Classifier in Name Compartment
« on: July 17, 2009, 01:00:10 pm »
UML specification requires an object to be denoted as:
<Object name> : <Classifier name>

EA almost gets it correct in the name compartment (EA doesn't put a space between the : and the Classifier name)

I need to use some objects in a non-technical diagram.  The Classifier name gets in the way of a non-technical user seeing the object name (which in this case, due to the level of the model contains spaces and is fully semantically descriptive - and therefore somewhat long).  It actually gets in my way too!  

Is there any way to suppress the the ": <Classifier name>" part?

If there isn't would there be support for a feature request?  

The feature request would ask for it at both the diagram level (as a new checkbox) and at the individual vertex revel (an additional checkbox in the Set Feature Visibility [Ctrl+Y] dialog).

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Suppressing Object Classifier in Name Compartm
« Reply #1 on: July 17, 2009, 09:16:37 pm »
Yes, very good idea.

BTW, does UML actually mandate the space, or does this come from the diagram rendering in the specification (which has occasional problems, some of which date back to legacy times)?

This feature (request) might be along the lines of being able to hide the double lines delimiting empty feature (attributes and operations) on class glyphs when no features are rendered. UML says this is allowed (for readability and presentation purposes), but Sparx has thus far not provided this feature. Nor replied to my requests on the subject.

David
No, you can't have it!