Sparx Systems Forum

Discussion => Uml Process => Topic started by: nweller on September 15, 2016, 09:57:19 pm

Title: Hide Stereotype Icon
Post by: nweller 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
Title: Re: Hide Stereotype Icon
Post by: qwerty 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.
Title: Re: Hide Stereotype Icon
Post by: Paolo F Cantoni 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