Export a Profile

Once you have created a Profile, defined the Stereotype elements, and added any Tagged Values, Shape Scripts, Constraints and Quick Linker definitions you need, you can save (export) the Profile to disk. The Profile can then be integrated with an MDG Technology and deployed to other models for use.

Save a Profile

Step

Description

See also

1

If your Profile is:

A single Profile spread over multiple diagrams within the same Profile package, find the Profile package in the Project Browser window, right-click on it and select the Save Package as UML Profile context menu option
One of multiple Profiles within the same Profile package, right-click anywhere in the background of the Profile diagram and select the Save as Profile context menu option
A single diagram within the Profile package, choose either the Save Package as UML Profile context menu option or the Save as Profile context menu option

 

The Save UML Profile dialog displays.

 

 

 

 

 

 

 

Save Profile Options

2

Click on the (  ...  ) (Browse) button, and select the destination directory path for the XML Profile file.

If necessary, edit the Profile filename, but do not delete the .xml extension.

 

 

3

In the Profile Type field, use the default value EA (UML)2.X (or, if necessary, click on the drop-down arrow and select this value).

 

 

4

Set the required export options for all stereotypes defined in the Profile:

Element Size - select the checkbox to export the element size attributes
Color and Appearance - select the checkbox to export the color (background, border and font) and appearance (border thickness) attributes
Alternate Image - select the checkbox to export the metafile images
Code Templates - select the checkbox to export the code templates, if they exist
 

 

 

Color and Appearance

5

Click on the Save button to save the Profile to disk.

 

 

Notes

To quickly test a Profile, you can import the XML file on its own into the Resources window; for final deployment, incorporate the Profile into an MDG Technology

Learn more

Add a Profile (to an MDG Technology)

Learning Center topics

(Alt+F1) | Modeling Languages | Build a Profile | Save UML Profile