Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Boron on September 20, 2018, 04:11:59 pm

Title: Where is my pattern that has been embedded to MDG?
Post by: Boron 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?
Title: Re: Where is my pattern that has been embedded to MDG?
Post by: KP 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)
Title: Re: Where is my pattern that has been embedded to MDG?
Post by: Boron 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.
Title: Re: Where is my pattern that has been embedded to MDG?
Post by: Arshad 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 (https://www.sparxsystems.in/blogs/how-to-define-mdg-technologies-in-sparx-enterprise-architect/) link . It show how to define own tool box .



HTH
Arshad
 


Title: Re: Where is my pattern that has been embedded to MDG?
Post by: KP 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.