Creating custom profiles

When you create a UML profile, you can add the profile file to an existing modeling project.

Before you begin

Before you can create a profile, you must enable the creation of UML profiles.
Note: Because the two main views that you use to create profiles are the Project Explorer view and the Properties view, the Modeling perspective is ideal for authoring profiles.. You can create UML profiles by using class diagrams, which provide a visual, modeling approach to creating profile content.

About this task

To create a profile (an EPX file):

Procedure

  1. Click File > New > Other.
  2. In the New window, in the Wizards list, expand Modeling, expand UML Extensibility, and click UML Profile.
  3. Click Next.
  4. In the New UML wizard, specify a profile name that is meaningful when the profile is used and displayed.
  5. Specify a file name. The file is displayed with an EPX file name extension in the Project Explorer view.
  6. Select any or all of the three import libraries:
    • UML Primitive Types
    • Java Primitive Types
    • Ecore Primitive Types
  7. Click Browse , and select a location for the profile.
  8. Click Finish.

What to do next

You must now specify stereotypes and constraints for the profile.

Feedback