Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Viking on February 22, 2017, 11:57:44 pm

Title: ToolBox - reuse of other stereotypes
Post by: Viking on February 22, 2017, 11:57:44 pm
Hello together,

I want to create ToolBoxes that offer the elements the users are allowed to use. So a toolbox will not contain self-created shapes only. It should also show standard elements from e.g. BPMN and ArchiMate. The easiest way is to use the shape scripts of these elements. But this is not really wanted because I want to reuse (reference) what's already there. Is that possible?

Many thanks in advance, V.
Title: Re: ToolBox - reuse of other stereotypes
Post by: Viking on February 23, 2017, 12:40:37 am
Another question is: can I change an element in a "standard" toolbox? I want to replace the stereotype of the BPMN Actvity with a shape script, created by me. Is that possible? Probably is is possible to change the MDG-file under Sparx Systems\EA\MDGTechnologies and reimport it. But I cannot imagine that this is recommended.
Title: Re: ToolBox - reuse of other stereotypes
Post by: qwerty on February 23, 2017, 01:30:36 am
No and no. You have to create your toolboxes from scratch.

q.
Title: Re: ToolBox - reuse of other stereotypes
Post by: Viking on February 23, 2017, 01:40:09 am
No and no. You have to create your toolboxes from scratch. q.
Thank you very much.
Title: Re: ToolBox - reuse of other stereotypes
Post by: Geert Bellekens on February 23, 2017, 03:25:01 am
No and no. You have to create your toolboxes from scratch.

q.
But that is really not much work. (like half an hour or so)

You can also override the standard BPMN toolbox so that it uses your toolbox iso the standard BPMN toolbox.

Geert
Title: Re: ToolBox - reuse of other stereotypes
Post by: KP on February 23, 2017, 01:15:23 pm
I want to create ToolBoxes that offer the elements the users are allowed to use. So a toolbox will not contain self-created shapes only. It should also show standard elements from e.g. BPMN and ArchiMate.

Yes you can add elements from other technologies to your own toolboxes. For example, adding an attribute named "BPMN2.0::Activity(UML::Activity)" to your toolbox profile's stereotype element will add a BPMN 2.0 Activity to your toolbox. You will have to learn to read technology XML files to figure out the rest.
Title: Re: ToolBox - reuse of other stereotypes
Post by: Viking on March 06, 2017, 11:21:56 pm
Solved. We had to use inheritance of stereotypes.