You can specify an icon and a graphic to identify each
stereotype that you create. When you apply the stereotype to a model
element, the specified icon is displayed beside the stereotype name
and the specified graphic replaces the default graphic for a diagram
element in the diagram editor. GIF or JPG files are the recommended
file formats for stereotype icons and SVG is the recommended file
format for diagram editor graphics.
Before you can associate an icon with a stereotype,
a custom profile that contains the stereotype must be open in the Model
Explorer view.
To specify an icon and a graphic for a stereotype:
- In the Model Explorer view,
click a stereotype.
- In the Properties view, click the General tab.
- To specify an icon for the Model Explorer view,
in the Icon field, specify the location of
a GIF or BMP file.
Tip: The recommended size for icons is 16 x
16 pixels.
- To specify a graphic for the diagram editor, in the Shape
Image field, specify the location of an SVG file.
Tip: The recommended size for diagram editor
graphics is 50 x 50 pixels.
- Optional: To hide a stereotype name, icon,
and diagram editor graphic, in the Properties view,
on the General page, select the Suppressed check
box.