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
Access
Create a new Package diagram, then show the Diagram Toolbox and open the 'Profile' page.
Use one of methods outlined here to access the 'Profile' page of the Diagram Toolbox.
Ribbon |
Design > Diagram > Toolbox : to display the 'Find Toolbox Item' dialog and specify 'Profile' |
Keyboard Shortcuts |
: to display the 'Find Toolbox Item' dialog and specify 'Profile' |
Other |
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
Step |
Description |
See also |
---|---|---|
1 |
On the 'New Diagram' dialog, click on 'UML Structural' in the 'Select From' field, and 'Package' in the 'Diagram Types' field. Click on the Diagram View. . The new diagram opens in the |
Add New Diagrams |
2 |
Open the 'Profile' page of the Diagram Toolbox (click on to display the 'Find Toolbox Item' dialog and specify 'Profile'). |
Profile Toolbox |
3 |
Drag the 'Profile' item onto the Package diagram. The 'New Model Package' dialog displays. |
|
4 |
In the 'Package Name' field, type a name for the Profile and select the 'Automatically add new diagram' checkbox. Click on the . The 'New Diagram' dialog displays. |
|
5 |
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 |
6 |
Click on the . 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. |
|
7 |
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 |