Adding stereotypes to custom UML profiles

You can create stereotypes to include in a custom UML profile. When you apply a profile to a model, you can use the stereotypes of the profile to mark up the model for a particular domain or platform.

About this task

Before you can add stereotypes to a profile, the profile must be open in the Project Explorer view.

Restriction: You cannot add stereotypes to the default profiles that are provided.
To add a stereotype to a custom UML profile:

Procedure

  1. In the Project Explorer view, expand a project that contains a custom UML profile.
  2. Expand the Profiles folder, right-click a profile, then click Add UML > Stereotype. The new stereotype is displayed in the Project Explorer view, in the Profiles folder.
  3. Type a name without spaces and press Enter.
    Important: You should not include spaces in stereotype names because they can cause problems if you use Object Constraint Language (OCL) to define constraints.

Feedback