Associating stereotypes with an element

You associate stereotypes with a model element using the Stereotype field of the Features window for that element.

About this task

The Stereotype field includes a list of all the stereotypes defined in the profiles and packages that can extend the metaclass of that element. For example, if the element is a class, the Stereotype list includes all the stereotypes in all the profiles and packages that extend that class.

Associating stereotypes with an element

Procedure

  1. Open the Features window for the element.
  2. Open the Stereotype list.
  3. Use the check boxes to select the stereotypes you would like to apply to the element.
  4. Click the arrow of the list to close the list.
  5. Click Apply or OK.

Associating stereotypes with an element using tree display

Procedure

Alternatively, you can select the stereotypes from a tree display, as follows:

  1. Open the Features window for the element.
  2. Click the Browse button next to the list.
  3. Find the stereotypes you would like to apply. Use Ctrl + Shift to select more than one stereotype.
  4. Click OK to close the tree display.
  5. Click Apply or OK.

Feedback