Import a Pattern

Return to Introduction  Previous page  Next page

Before using a previously created Pattern file in a UML model, you must first import it into the current UML model; it is then available from the Resources window and optionally from the Enterprise Architect UML Toolbox. To import a UML Pattern you have previously saved, follow the steps outlined below:

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. To download examples of the Gang of Four patterns for Enterprise Architect open the GoF Patterns zip file.