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

Import a Pattern

Before using a previously created Pattern file in a UML model, you must first import it into the model; it is then available from the Resources window and optionally from the Toolbox

How to:

To import a UML Pattern you have previously saved, follow the steps below:

Step

Action

1

Select the Resources window

2

Right-click on the UML Patterns node

The context menu displays

3

Select the Import UML Pattern menu option

The Select UML Pattern Import Filename dialog displays

4

Locate the XML file to import

5

Click on the Open button to import the Pattern

The imported Pattern is placed in the appropriate category as defined in the XML file; if the category does not already exist under UML Patterns, a new one is created

Gang of Four patterns are integrated with Enterprise Architect in the EABase.eap file; however, if you create your model in a DBMS repository (or you inadvertently delete the patterns from your model .eap file) you can use the above procedure to download examples of the Gang of Four patterns from the GoF Patterns zip file on the Sparx Systems website.

Learn More: