Create a Profile Package

The first stage in creating a UML Profile to define new model elements is to create a Package that has the stereotype «profile» in your technical development model.

Access In Project Browser, right-click on Model node | Add | Add Diagram

Create a Profile Package



See also


On the 'New Diagram' dialog, click on 'UML Structural' in the 'Select From' field, and 'Package' in the 'Diagram Types' field.

Click on the OK button. The new diagram opens in the Diagram View.

Add New Diagrams


Open the Profile page of the Toolbox (More tools | UML | Profile).

Profile Toolbox


Drag the 'Profile' item onto the Package diagram.

The 'New Model Package' dialog displays.


In the 'Package Name' field, type a name for the Profile and select the 'Automatically add new diagram' checkbox.

Click on the OK button. The 'New Diagram' dialog displays.


In the 'Name' field, type the diagram name, then click on 'UML Structural' in the 'Select From' field and 'Class' in the 'Diagram Types' field.

Add New Diagrams


Click on the OK button.

The system creates a Package with the stereotype «profile» and a child Class diagram.

Depending on your system set-up, the 'Properties' dialog for the Package might display. If necessary, you can add any basic Package details you want to assign to the Package, such as version, phase, or notes.


On the diagram, double-click on the Profile Package  to open the child diagram.

You now use this child diagram to add Stereotype elements to the Profile.

Add Stereotypes and Metaclasses

Learning Center topics

  • Alt+F1 | Enterprise Architect | Modeling Languages | Build a Profile | Create a Profile