Author Topic: Hide Stereotype Icon  (Read 907 times)

nweller

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Hide Stereotype Icon
« on: September 15, 2016, 09:57:19 pm »
I have diagrams with components on and all of the components have the component icon on (top right corner).  How can I turn the icon off?  I have certain diagrams where I don't want the icons to display.

I have tried the Hide Stereotype checkbox in Elements on the diagram properties but they don't disappear.

Does anyone know how I can do this?  I do want them in some diagrams, just not others.

Thanks,
Neil

qwerty

  • EA Guru
  • *****
  • Posts: 8972
  • Karma: +136/-124
  • I'm no guru at all
    • View Profile
Re: Hide Stereotype Icon
« Reply #1 on: September 15, 2016, 10:55:53 pm »
You can't (Paolo asked the same question recently). This is not a stereotype but a different meta type. The UML spec is flawed in this respect as it allows meta types to show like stereotyped elements.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5882
  • Karma: +71/-79
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Hide Stereotype Icon
« Reply #2 on: September 16, 2016, 09:38:50 am »
We have created shapescript decorations that will place a rectangle over the offending icon.  You set the fillcolor and pencolor to the value getuserfillcolor().  Works fine for non-gradient fills, bit ugly for gradients, but still better than seeing the underlying icon.

As "Boss" would say: "Sol, Icons ain't icons"....

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!