Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Create UML Profiles using Profile Helpers

When creating a technology to provide a domain-specific toolset, the typical starting point is to define each element, connector, feature and structural component you want to provide. These are defined by a Profile.

All Stereotypes defined in a Profile are either extensions of Core UML objects (Metaclasses) defined by Enterprise Architect, or extensions of non-UML objects (Stereotypes) defined by other existing profiles and technologies.

When development of a Profile is complete, the profile is saved to an external XML file, and then be incorporated into an MDG Technology for final deployment.

Each Stereotype defined in a profile modifies the behavior of the Metaclass or Stereotype that it extends.  These modifications may include:

Tagged Values to provide additional properties
Constraints to define the conditions and rules which apply to each Stereotype
Shape Script to customize the overall appearance of the new object
Default appearance of the object, such as Background, Border and Font colors
Quick Linker Definitions to provide a list of the most common connection types from each Stereotype
Special attributes that define specific appearance and behavior of the new object, including the initial element size and project browser icon


Create a UML Profile



See also


In the Project Browser, locate the package with the <<profile>> stereotype and open it's child diagram.

If you do not have an existing <<profile>> package, use the MDG Technology Builder option in the Model Wizard dialog to create a new technology, then open the diagram from the newly created <<profile>> package.


Using the Profile Helpers


(Optional) If you intend for your Stereotype elements to include Tagged Values with a drop-down list of several pre-defined values, each set of values must be defined by an Enumeration element on the Profile diagram.

If you intend for your Stereotype elements to include a Structured Tagged Value to provide a composite set of information, each structure must be defined by a Class element on the Profile diagram.

The Enumeration and Class elements have to exist before you can define these Tagged Value types for your stereotype; you can either create the elements at this point, or add these Tagged Values to your Stereotype at a later time.


Add an Enumeration to a Stereotype


Add a Structured Tagged Value to a Stereotype


Add a new Stereotype by dragging the Add Stereotype Profile Helper from the Diagram Toolbox.  The dialog opened by the Add Stereotype Profile helper will allow you to specify various general Properties, Tagged Values, and the Shape Script for your stereotype.

If you are extending a Core UML object type, click the Add Metaclass button to add an extension.

If you are extending a non-UML object defined by another existing profile or technology, do not specify any extensions at this time.


Add Stereotypes and Metaclasses using Profile Helpers



Create Stereotypes Extending non-UML Objects


(Optional) Define Constraints for the Stereotype.


Define Stereotype Constraints



(Optional) Set the Default Appearance for the Stereotype.

Set Default Appearance



Repeat steps 3 to 5 for each new Stereotype element you want to create.




(Optional) Add a Quick Linker Definition to the Profile.

Add Quick Linker Definition To Profile



Save the package as a Profile.


Export a Profile


Incorporate the Profile into an MDG Technology.

Generate MDG Technology

Add a UML Profile



A Profile package cannot contain other packages; do not add any other packages to the Profile
When saving the Profile, the name used should match the name of the Profile package; this is necessary for the references within a Toolbox profile to function correctly

Learn more