Book a Demo

Author Topic: Status Type color  (Read 6461 times)

Zaid

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Status Type color
« 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

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Status Type color
« Reply #1 on: December 15, 2010, 11:47:34 am »
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
« Last Edit: December 15, 2010, 11:48:32 am by novaphile »
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13445
  • Karma: +570/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Status Type color
« Reply #2 on: December 15, 2010, 07:53:49 pm »
Or you could write a little script that updates the elements' color based on the status.

Geert

Steven

  • Guest
Re: Status Type color
« Reply #3 on: December 15, 2010, 08:09:55 pm »
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.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Status Type color
« Reply #4 on: December 16, 2010, 08:52:28 am »
Good thinking Steven,

Tools | Options | Objects

Show status colours on diagrams.
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8087
  • Karma: +118/-20
    • View Profile
Re: Status Type color
« Reply #5 on: December 16, 2010, 12:03:54 pm »
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.

Peter Doomen

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
    • View Profile
Re: Status Type color
« Reply #6 on: December 20, 2010, 06:20:27 pm »
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).

Zaid

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Status Type color
« Reply #7 on: December 20, 2010, 08:42:02 pm »
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).