Author Topic: ToolBox - reuse of other stereotypes  (Read 5280 times)

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
ToolBox - reuse of other stereotypes
« 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.

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Re: ToolBox - reuse of other stereotypes
« Reply #1 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.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: ToolBox - reuse of other stereotypes
« Reply #2 on: February 23, 2017, 01:30:36 am »
No and no. You have to create your toolboxes from scratch.

q.

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Re: ToolBox - reuse of other stereotypes
« Reply #3 on: February 23, 2017, 01:40:09 am »
No and no. You have to create your toolboxes from scratch. q.
Thank you very much.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: ToolBox - reuse of other stereotypes
« Reply #4 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

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: ToolBox - reuse of other stereotypes
« Reply #5 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.
The Sparx Team
[email protected]

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Re: ToolBox - reuse of other stereotypes
« Reply #6 on: March 06, 2017, 11:21:56 pm »
Solved. We had to use inheritance of stereotypes.