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.

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:
  1. In the Model Explorer view, expand a project that contains a custom UML profile.
  2. Expand the EPX file, right-click the profile folder; then click Add UML > Stereotype. The new stereotype is displayed in the Model Explorer view, in the profile folder.
  3. 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.
Related concepts
Custom UML profiles
Related reference
Stereotypes and constraints
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.