In UML diagrams, you can
specify the stereotype style for diagram elements or for the attribute
and operation compartments in diagram elements. A stereotype is a
UML extension mechanism that broadens the UML vocabulary and gives
more specific meaning to a diagram element.
About this task
For example, you might change how a stereotype for a class
is displayed by adding a decorative icon. Specifically, you can choose
whether to display stereotypes with decoration icons, with text in
double angle brackets (« »), or not to display them at all.
To
specify the stereotype style in a UML diagram:
Procedure
- In the diagram editor, select a diagram element or group
of elements.
- Click and
complete one of the following steps:
- To specify a setting for a diagram element, click a style
that is prefaced with Stereotype.
- To specify a setting for compartments, click a style that
is prefaced with Compartment Stereotype.
Results
Note: You can also specify the stereotype styles for diagram
elements in the Properties view.