Book a Demo

Author Topic: Choosing stereotype appearance per diagram  (Read 3210 times)

bernardm

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Choosing stereotype appearance per diagram
« on: December 17, 2011, 01:23:01 am »
Hi All,

Is there a way to choose the stereotype appearance of an element per diagram?

Here is our case : We have an "Entity" stereotyped class which has to be shown on a class and a sequence diagram.

On the class diagram we would like it to have a "class look"; on the sequence diagram we would like it to have a "robustness look"...

How do we do that?

Thank in advance,

Bernard

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Choosing stereotype appearance per diagram
« Reply #1 on: December 17, 2011, 09:15:04 pm »
You can't do that in EA. The stereotype is per element and can not be evaluated per diagram. Even with a shape script it is not possible since you can't query the diagram type.


q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile

bernardm

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Choosing stereotype appearance per diagram
« Reply #3 on: December 19, 2011, 08:02:58 pm »
Hmmm it's quite annoying... Is there any hope to see this feature natively included in a next release?

For example, in the "Feature Visibility" context menu, we could have the choice to display the stereotype shape or not.

Bernard

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Choosing stereotype appearance per diagram
« Reply #4 on: December 19, 2011, 11:05:13 pm »
Quote
The diagram type is available.

See http://www.sparxsystems.com/enterprise_architect_user_guide/9.2/standard_uml_models/displaying_element_properties.html
Thanks for the hint. I wasn't aware of that.

q.