Hi everybody,
I've stereotyped me an Artifact. Yay!
But I'd quite like to override the upper-right Artifact icon. This isn't easy, and it's not vitally important, but my quest has led me to make the following observation:
EA can't keep the concept of a stereotype straight in its head.
If I create one of my stereotyped Artifacts, by default it is presented with the standard Artifact icon in the upper right, and my stereotype above the name. As expected.
If I then go into the diagram properties and switch off Use Stereotype Icons, the icon vanishes. But the stereotype above the name is now padded with «artifact».
I then switch off Show Element Stereotypes. My stereotype vanishes, «artifact» remains.
If I switch Use Stereotype Icons back on, «artifact» is removed and the icon is once again shown.
So according to the diagram properties dialog, the «artifact» string is a stereotype, because it is shown in place of a stereotype icon. Stereotype icon, mark. It is also not a stereotype, because it is shown when stereotypes are switched off.
Which is it?
/Uffe