Book a Demo

Author Topic: Changing the icon displayed on a diagram! Help!  (Read 3853 times)

Brad Hehe

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Changing the icon displayed on a diagram! Help!
« on: February 07, 2012, 04:17:37 am »
So I started with a Sequence diagram and created some entities. I'm also building up Robustness/BCE models sort of 'retroactively' and when I drag an existing item onto the Class diagram it shows the vertical lifeline (ala Sequence diagram where the object was created).  

For this diagram I obviously want the Boundary, Control and Entity icons instead...

Can you have 1 "element" serve both purposes and use the proper diagram icon/element for each diagram type respectively?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Changing the icon displayed on a diagram! Help
« Reply #1 on: February 07, 2012, 05:25:04 am »
No.

q.

P.S. Except you write a shape script and evaluate the diagram type.
« Last Edit: February 07, 2012, 05:25:45 am by qwerty »

bernardm

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Changing the icon displayed on a diagram! Help
« Reply #2 on: February 07, 2012, 07:22:47 pm »
Hi,
We are facing the same issue. Our idea was to apply a DDD-like approach by reusing robustness entities as aggregate roots into class diagrams. But... it is not possible within EA!!! We were obliged to create entitities and aggregate roots separately and link then together to keep traceability (dependency).

This "simple" limitation complicates everything and makes the traceability difficult to manage.

We don't want to start playing with shape scripts for a feature that should be built-in.

Kr,
Bernard

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Changing the icon displayed on a diagram! Help
« Reply #3 on: February 08, 2012, 08:49:41 am »
The behavior described will only happen if you create 'Lifeline' objects on the sequence diagram. (You can tell that these have been done by seeing the lifeline icon in the Project Browser)

If you create Objects instead, the behavior will be identical in the Sequence Diagram, while having the behavior you want in other diagrams. (If I have understood you correctly.)