Search code examples
modelingenterprise-architect

Sparx Enterprise Architetc Pattern Integration with a Custom Toolbox


I have a problem in adding a pattern in Sparx Enterprise Architect.

I created a diagram and then saved as a pattern as is shown in the following figure.

enter image description here

In addition, I designed my own custom toolbox using MDG technology, and I want to integrate that diagram with my toolbox to be something similar to the following figure

enter image description here

I just need to integrate that pattern (XML file) with my custom toolbox in MDG technology.


Solution

  • Pretty much straight forward. Once you create your MDG

    enter image description here

    check the Patterns box. Now the next after the profiles will ask for your patterns:

    enter image description here

    Locate your pattern files (best they were saved in a separate directory) and include your pattern(s).

    Your MDG should now include the added pattern(s).

    To refer the pattern in a toolbox you need to add <profileID>::<patternName>(UMLPattern) manually where appropriate.