Profile Configuration

Using profiles
Simply add profile model elements to your elements/diagrams. (Very useful for language specific modeling or AndroMDA users.)

Configuring profiles
Enable or disable profiles globally or for a project. To configure them globally, use the menu item "Edit -> Settings..." and click on the "profiles" tab. To configure profiles for the current project, use the menu item "File -> Project Properties" and click on the "profiles" tab.

Creating profiles
Create a profile model with "New Profile" (button or menu item) and deploy it as an XMI file by right-clicking on the profile element in the explorer and choosing "Deploy Profile..." from the popup menu. Now this model can be loaded as a profile in the profile configuration dialogs described above. You should put the profile in a standard place and configure this directory in the "Edit -> Settings..." profiles tab (default XMI directories), or put it in a module jar if you are a module-writer.

TODO: Profiles are not only XMI files. A profile consists of the XMI file and further configuration like critics, dependencies on other profiles and more (see issue 5029). Documentation on this has to be added.

Modifying profiles
Profiles shouldn't be modified when they are used, i.e. when they appear in the Profile Configuration of the explorer pane. In order to modify the set of model elements in a profile, you need to open/import the profiles XMI file in ArgoUML. After saving the changes, restart ArgoUML to make the new profile loaded. After this, the modified profile can be used.

UML 2.x: Don't modify a profile too often and too carelessly, because this will let your profile grow and might also break the models that depend on your profile. The reason for this is in the management of profiles in the underlying UML2 library, as described in an UML2, Profiles and XMI article in the developer wiki.