|
Right
click on the profile diagram editor background to open the popup
menu >
Import Meta Classes.

Select the meta classes (Association, Class,
Interface, Operation and Property) to import into the
Profile diagram editor and click on the OK button.

All the selected meta classes appear in the
diagram. To create a new stereotype select the Create a stereotype icon in the
profile diagram toolbar and drag it to the diagram. The new element
will be created at the drop position.

Select the Stereotype icon in the diagram toolbar
and drag the Stereotype to the diagram.
Edit the Name
field (e.g. MyStereotype) and click on the OK button.

The MyStereotype
element has been created in the diagram. The element meta classes
extensions are created by selecting the Create an extension
icon in the diagram toolbar.

Click on the left mouse button to select MyStereotype element and drag the extension to the Interface meta
class. Drop when the Interface meta class element is highlighted.

Proceed in the same way for the other meta
classes. The extensions associate the stereotype to the meta classes. This means
that this stereotype can be applied to any selected element.

To quickly get a better diagram
presentation, click the left mouse button on the diagram background
> open the popup menu > Layout.

Note that the diagram has been updated. To
add a new attribute to the MyStereotype
stereotype, select the MyStereotype
element (left click) and
right click to open the popup menu > New > Attribute.

Enter the attribute name in the New
Stereotype Attribute wizard and click on the OK button.

The Profile diagram has been updated and
includes the new attribute. We have successfully created a Profile
diagram which we recommend to use for any advanced stereotype creation.
Don't forget to save your Profile diagram by clicking on the save icon
in the main menu bar.

|