Author Topic: Hide Stereotype Icon  (Read 2549 times)


  • 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.



  • EA Guru
  • *****
  • Posts: 9952
  • Karma: +191/-159
  • 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.


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6390
  • Karma: +110/-91
  • 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"....

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