Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Emilio on March 10, 2009, 09:46:44 pm
-
Currently (v7.1) the user can alter or define the color coding of objects according to their status (Proposed, Approved, Implemented, etc.) and indicate to which type of object it applies (Requirement, Class, etc.).
In EA that color coding of the status appears as a halo around the box that represents the object in the diagram (kind of a shadow).
It would also be FANTASTIC if one could do that color coding according to the SCOPE/VISIBILITY of an object. For example, as a model reader I would like to see if an object is PUBLIC or INTERNAL, the first being accessible outside the component, the 2nd being internal to that component. This is currently not possible.
If such feature were to be implemented it cannot be drawn as the shadow/hallo because it would conflict with the status color coding. It can however be displayed in the object's header (the top part of the drawn object) by means of a color or perhaps even an icon on the left side of the header where it does not compete for space with the multiplicity or stereotype icon.
-
You could do something along these lines with shape scripts. I do not know whether you can test the visibility or scope of an element in a shape script - it is in the documentation, but I am leaving you to look it up on your own - but if not you could use a tagged value as an indicator.