Export a Profile

Once you have created a Profile and defined the elements and metaclasses, you can save (export) the Profile to disk for future models.

How to:

To save a Profile, follow the steps below:

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 export destination 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

 

Learn More:

  • For information on importing and using the profile in modeling, see the UML Profiles topic.