Author Topic: Where is my pattern that has been embedded to MDG?  (Read 3733 times)

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Where is my pattern that has been embedded to MDG?
« on: September 20, 2018, 04:11:59 pm »
Hello,
I created an UML profile with a bunch of stereotypes.
I also created a pattern in which classes of these stereotypes are used.
Profile and pattern are added to an MDG.

When importing this MDG to another model I see the toolbox offering my stereotypes -> As expected :)
What I am missing is my pattern.
Where is it?
Does my MDG need something additional to make the pattern usable and selectable somewhere?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Where is my pattern that has been embedded to MDG?
« Reply #1 on: September 20, 2018, 04:18:05 pm »
You need to add an item to your toolbox like

Code: [Select]
TechnologyID::PatternName(UMLPattern)
or

Code: [Select]
TechnologyID::PatternName(UMLPatternSilent)
The Sparx Team
[email protected]

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Re: Where is my pattern that has been embedded to MDG?
« Reply #2 on: September 25, 2018, 06:04:41 pm »
Is it possible that the help of the following link is somewhat incomplete:
http://www.sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/toolbox_profiles.html

In step 3 a metaclass with the name "ToolboxPage" shall be created.
But what type of metaclass shall be extended? There are some dozens of "core element" like Action, Class, Enumeration...

If I select "Class" and continue with creating my own toolbox profile, I get an error on importing the profile xml file at the end:
"Error parsing: V:\path\to\my\profile.xml".
Nice, but what is the error?
I definitely "published" the correct profile diagram as profile.

Arshad

  • EA User
  • **
  • Posts: 286
  • Karma: +20/-1
    • View Profile
Re: Where is my pattern that has been embedded to MDG?
« Reply #3 on: September 25, 2018, 08:32:16 pm »

In step 3 a metaclass with the name "ToolboxPage" shall be created.
But what type of metaclass shall be extended? There are some dozens of "core element" like Action, Class, Enumeration...
 

Hi Boron

Please refer the To Create Toolbox Profile section in  How to define MDG Technologies in Enterprise Architect link . It show how to define own tool box .



HTH
Arshad
 



KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Where is my pattern that has been embedded to MDG?
« Reply #4 on: September 26, 2018, 08:32:57 am »
In step 3 a metaclass with the name "ToolboxPage" shall be created.
But what type of metaclass shall be extended? There are some dozens of "core element" like Action, Class, Enumeration...

Just pick one and rename it.
The Sparx Team
[email protected]