Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Zaid on December 14, 2010, 11:48:10 pm
-
Hi
I am evaluating the trial of Sparx for a massive project (with more than 180 components that I need to indicate on 1 page / (Context diagram).
I have managed to add a number of Status Types (e.g. Application unchanged, Out of Scope, New, Minor impact, etc) and linked each Status Type to a color.
However, the Status Type color only applies to an Element Shadow / outline. I need it to apply to the entire element / component (i.e. Component Fill). Any way for me to do this?
Thanks
-
It's a bit of a long shot, but you could create different requirement stereotypes and define the fill colour for each stereotype.
The fill colour is defined under Settings, UML Types, Stereotypes, Requirement.
Did you use the colour functionality under Settings, General Types, Status?
That puts a coloured vertical bar on the left of each requirement (according to the status assigned) it doesn't colour the whole requirement, but seems to be quite visible on screen and printouts.
Note that you can set the colour for every status that you have defined.
Andy
-
Or you could write a little script that updates the elements' color based on the status.
Geert
-
And do not forget to select the checkbox to show the status color in the diagram. You can find this check-box in the options dialog of EA.
-
Good thinking Steven,
Tools | Options | Objects
Show status colours on diagrams.
-
Pedantic detail.
Show status colors on diagrams.
Like me, Andy obviously uses British spelling instead of US spelling. EA uses US spelling (at least in the user interface) though.
-
I would also use my own stereotype (even toolbox) for a project like that.
However, a very lightweigth way of showing differences in elements of the same type is to work with element styles. That way, you can even color them differently in different diagrams (which is what you might want, when your statuses are like what you have, e.g. minor impact: could be true for diagram one, not true for diagram two).
-
Hi
I managed to figure out how to automatically change the entire object color based on the Stereotype and Status. Instructions are here:http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/usingtheshapescript.htm with examples here: http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/example_scripts.htm
I'm just trying to figure out if I can now replace the fill color with an image (of a PowerPoint shape with a gradient fill - looks better than a single fill color).