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

  1. Import a User Defined Profile

  1. Open the [Profile Stereotype] tab in the Property View of the project.

[Profile] tab
  1. Press the [Import] button and select the definition file in the profile selection dialog to open the [Profile] tab.

Select Profile Dialog

[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.

  1. 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.

  1. Open [Profile Stereotype] tab in the project that the EasyProfile is not yet applied.

  2. Press add_icon button to open the [Edit Stereotype Definition] dialog.

  3. Enter the Stereotype name in the [Stereotype] field and press [OK]. A Stereotype and the EasyProfile are created.

stereotype_dialog

profiletab_with_new_stereotype

Edit Profile

The following editing is supported. Select the profile to be edited in the [Selection Target] field.

  1. Rename the Stereotype

    • Click the name of the target stereotype and edit the cell contents.

  2. Set an Customized Icon for the Stereotype

    Note

    You can also set up multiple extension icons.

  3. Add a Stereotype to the EasyProfile

  4. Delete the Stereotype from the EasyProfile

    • Select the Stereotype and click delete_icon button.

    delete_stereotype

Delete Profile

  • The Profile selected in the [Profile Selection] list can be deleted by [Delete] button.

profile delete

How to use the Profile

  • Create a Model Element and apply a Stereotype in the Profile.

    Select Stereotype Dialog
  1. 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.

    tagged_value_tab2
  2. If you apply a Stereotype with a Customized Icon defined, you can switch the notation of the Diagram Element to the Customized Icon notation.

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.