Author Topic: How to implement a pattern with Package structure?  (Read 3520 times)

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 341
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
How to implement a pattern with Package structure?
« on: October 09, 2019, 03:20:42 am »
I know you can make a pattern in EA, which means you can create new diagrams with elements in predefined positions with predefined connectors and you can choose if the elements in the diagram are new or you can merge them with previously created elements.

But how is supposed to do something more complex, like a structure of packages with several diagrams and each diagram with a predefined structure of objects and connectors? similar as when you create a TOGAF model which is not just a pattern of a single diagram but a complex structure with packages, diagrams, elements and connectors (I know this is a MDG technology including document templates, profiles and other stuff).

But how can I just make something like a "pattern" that creates packages, diagrams, elements and connectors? how is it called in EA?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to implement a pattern with Package structure?
« Reply #1 on: October 09, 2019, 03:28:36 am »
You can use the model wizard to import pre-defined structures. Manual MDG-editing required...

q.

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 341
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: How to implement a pattern with Package structure?
« Reply #2 on: October 09, 2019, 03:41:59 am »
You can use the model wizard to import pre-defined structures. Manual MDG-editing required...

q.

This is the thing I want to create: something that I could use in the model wizard but designed by me. I know how to to MDGs with scripts, searches, profiles, templates and patterns, but how can I make something that create package structure within my MDG? is this a pattern? how to create the structure?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to implement a pattern with Package structure?
« Reply #3 on: October 09, 2019, 03:53:14 am »
Export the structure as XMI in a fixed (!) place. Edit your MDG and at the end (or wherever legal) add

Code: [Select]
<ModelTemplates>
  <Model name="Some architecture" description="Description of architecture." location="where\ever\exported.xml" default="no" icon="34" filter=""/>
</ModelTemplates>

</MDG.Technology>

The help states a handful of codes for icon number. However, it takes values from 1 to 350. I made a test MDG using all possible codes (naming each after the icon number used) and browsed for those being useful.

q.
« Last Edit: December 09, 2019, 07:40:49 pm by qwerty »