Community
Participate
Working Groups
Stereotype element has Image property. If element applies the stereotype with omage, display the image on the element viewmap. UML 2.1 spec, 8.3.8, says: When a stereotype includes the definition of an icon, this icon can be graphically attached to the model elements extended by the stereotype. Every model element that has a graphical presentation can have an attached icon. When model elements are graphically expressed as: • Boxes (see Figure 18.14 on page 670): the box can be replaced by the icon, and the name of the model element appears below the icon. This presentation option can be used only when a model element is extended by one single stereotype and when properties of the model element (i.e., attributes, operations of a class) are not presented. As another option, the icon can be presented in a reduced shape, inside and on top of the box representing the model element. When several stereotypes are applied, several icons can be presented within the box. • Links: the icon can be placed close to the link. • Textual notation: the icon can be presented to the left of the textual notation. Several icons can be attached to a stereotype. The interpretation of the different attached icons in that case is a semantic variation point. Some tools may use different images for the icon replacing the box, for the reduced icon inside the box, for icons within explorers, etc. Depending on the image format, other tools may choose to display one single icon into different sizes
Created attachment 124718 [details] Initial patch
Fixed in all Structure diagram - icons of the stereotypes are displayed for all top-level elements