Prev Next

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.

Toolbox Icon


Create a new Package Diagram, then show the Diagram Toolbox and open the 'Profile' toolbox page.

Use one of methods outlined here to access the 'Profile' toolbox page.


Design > Diagram > Toolbox : More Tools > Profile

Keyboard Shortcuts

Alt+5 : More Tools > Profile


You can display or hide the Diagram Toolbox by clicking on the or icons at the left-hand end of the Caption Bar at the top of the Diagram View.

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