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.
Before you can add stereotypes to a profile, the
profile must be open in the
Model Explorer view.
Restriction: You cannot add stereotypes to the default
profiles that are provided.
To add a stereotype to a custom UML profile:
- In the Model Explorer view,
expand a project that contains a custom UML profile.
- Expand the EPX file, right-click the profile folder;
then click . The new stereotype is displayed in the Model
Explorer view, in the profile folder.
- Type a name without spaces and press Enter.
Important: You should not include spaces in
stereotype names as they can cause problems if you use Object Constraint
Language (OCL) to define constraints.