Profile¶
Profile can be added to use its own Tagged Values and Customized Icons.
Items That can be Defined in the Profile¶
Stereotype, Tagged Value Type, Multiplicity and Customized Icons can be defined. Tagged values can only be defined as single-valued primitive types.
Profile Format¶
OMG XMI 2.5 compliant
Creating a Profile Definition¶
Profile definition can be created by the following procedure:
Using UMLEditor of Eclipse
Import Profile¶
Import a User Defined Profile
Open the [Profile Stereotype] tab in the Property View of the project.
Press the [Import] button and select the definition file in the profile selection dialog to open the [Profile] tab.
If a profile with the same URI as an already registered profile is imported, it will be overwritten.
In this case, stereotypes and tagged values already applied to the model will be maintained as long as they do not conflict with the definition.
Add the EasyProfile
When you create a original Stereotype for the first time, the EasyProfile is created.
When you create original Stereotypes in the project, they are added to the EasyProfile.
Open [Profile Stereotype] tab in the project that the EasyProfile is not yet applied.
Press button to open the [Edit Stereotype Definition] dialog.
Enter the Stereotype name in the [Stereotype] field and press [OK]. A Stereotype and the EasyProfile are created.
Edit Profile¶
The following editing is supported. Select the profile to be edited in the [Selection Target] field.
Rename the Stereotype
Click the name of the target stereotype and edit the cell contents.
Set an Customized Icon for the Stereotype
Double-click the target stereotype to open the edit dialog.
Press the “Add” button and select the extension icon to add it.
Please refer to Basic Functions - Editing Diagrams - Customized Icons.
Note
You can also set up multiple extension icons.
Add a Stereotype to the EasyProfile
You can add a Stereotype to the EasyProfile using the same procedure as Add the EasyProfile.
Delete the Stereotype from the EasyProfile
Select the Stereotype and click button.
Delete Profile¶
The Profile selected in the [Profile Selection] list can be deleted by [Delete] button.
How to use the Profile¶
Create a Model Element and apply a Stereotype in the Profile.
If you apply a Stereotype with Tagged Values defined, Tagged Values will be applied to the Model Element.
You can check and edit them from the [Tagged Values] tab.
Tagged Values can be shown on diagrams with context menu of elements.
If you apply a Stereotype with a Customized Icon defined, you can switch the notation of the Diagram Element to the Customized Icon notation.
Please refer to Basic Functions - Editing Diagrams - Customized Icons.
Profile Restrictions¶
A profile with a duplicate name or URI cannot be imported.
A profile that deviates from the UML 2.5/CMOF 2.5 specification cannot be imported.
A profile that refers to anything other than a resource cannot be imported except for UML meta model.
A profile which has the duplicate member names in the namespace cannot be imported.
The nested profile is not supported.
For Stereotype editing, only Customized Icon setting and Definition editing are supported.