Author Topic: Model Wizard - New model from pattern  (Read 4875 times)

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Model Wizard - New model from pattern
« on: November 28, 2014, 08:00:28 pm »
Model Wizard - New model from pattern (Ctrl + Maj + M)

How to add new choice to this menu.

I know:
-how to create a package, element,... , an MDG (a basic one)
-How to create a pattern, and import it through the "Resources" browser.

But how to add it to the model wizard (in order to select the packages of the model that you want)
The only way that i found is to go on C:\Program Files (x86)\Sparx Systems\EA\MDGTechnologies and to modify/create manualy a xml with the code.
Is there a more elegant way? maybe to place the pattern somewhere and to include it? or include a MDG xml? Any solution that dosnt require me to write xml code works for me! Any ideas?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #1 on: November 28, 2014, 10:28:49 pm »
I guess your question is a bit too --- broad. Writing MDGs is a bit of work (see here and here). Once you got that far you can also start adding patterns.

q.
« Last Edit: November 28, 2014, 10:29:13 pm by qwerty »

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #2 on: November 29, 2014, 12:10:02 am »
Quote
I guess your question is a bit too --- broad. Writing MDGs is a bit of work (see here and here). Once you got that far you can also start adding patterns.

q.

Dear q,

I am sorry for my terrible English.

I already have created my MDG (package...) and already have created a pattern. I have exported all those element in .xml and I know how to import them through the resource browser or the MDG import tech.

I am now looking at way to have those elements in the Model Wizard - New model from pattern (Ctrl + Maj + M).

M.
« Last Edit: November 29, 2014, 12:11:39 am by damien.reche »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #3 on: November 29, 2014, 12:20:29 am »
Oh :) No problem. But I have no idea how to deal with EA's wizards. Maybe the wizard's apprentice taught me to not try such things ;D

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #4 on: December 01, 2014, 09:06:33 am »
it needs to be added to the mts file directly. The help page describing it is called "Incorporate Model Templates"

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #5 on: December 01, 2014, 09:19:44 pm »
Thank you Simon!

So if I am not mistaken, it's all done manually by exporting the MDG tech file, then exporting the pattern as an xml, and then incorporating the "model template" inside the xml MDG file manually.

I'll post here my errors and try to do a step by step answer.

Stoppy

  • EA User
  • **
  • Posts: 115
  • Karma: +0/-0
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #6 on: January 13, 2015, 11:37:40 am »
Hi Monsieur,

Just wondering how you are progressing on this as I am also struggling to understand how to implement a similar need.

My Goal is to provide two BPMN template models for spec 1.1 and 2.0 for my organisation.
  - For example when the user selects Ctrl + Shift + M, then selects BPMN spec, the new model templates are available next to the Out of the Box ones.

I have created the packages and exported the model to XMI, but I am lost with this MTS step??? Where is this file???

How do we enable the model templates to be seen by the wizard.

The model templates provided out of the box are a good guide for training and newbies, but I now want to extend this for my organisation and leverage the benefit and enable standards of practice.

At this stage, I am think a model template package in my architecture repository is a more simple option. :-/

Stoppy :D
Skills: Business Process | Business Analysts | Product Configuration Manager | Business Intelligence

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #7 on: January 13, 2015, 12:07:29 pm »
You won't have an .MTS file for the BPMN technologies because you didn't create the BPMN technologies. If you want to add model templates to them, you will need to edit the XML by hand, and be aware that the next time you upgrade EA it will blow away your changes so you will need to restore them. That sort of thing can be managed, but you may find it easier to create your own technology which provides BPMN 1.1 and 2.0 templates. Include all the extras for your organization's processes in your technology and stick it on a shared network drive for easy deployment of updates.
The Sparx Team
[email protected]

Stoppy

  • EA User
  • **
  • Posts: 115
  • Karma: +0/-0
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #8 on: January 13, 2015, 12:51:12 pm »
Wow, Thanks for the reply KP.

Seems like a bit of time and effort, so copy, paste and rename packages it is.

Stoppy  :D
« Last Edit: January 13, 2015, 12:51:59 pm by Stoppy »
Skills: Business Process | Business Analysts | Product Configuration Manager | Business Intelligence

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Model Wizard - New model from pattern
« Reply #9 on: January 13, 2015, 08:47:29 pm »
The effort of creating your own profile pays on the long term. So probably you should run on two tracks: copy/paste and then start with the real stuff :)

q.