Author Topic: Setting view specification as default diagram type  (Read 180 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Setting view specification as default diagram type
« on: August 29, 2025, 05:07:16 pm »
I'm made a view specification extending the BPMN2.0::Business Process diagram.
(mainly because I can't make my own diagram type as the quicklinkers in the BPMN MDG technology limit the relations to the BPMN2.0::Business Process diagram)

I also have a business process block stereotype. I want this stereotype to be composite, and the default diagram toolbox on that diagram should be the one I defined in the view specification.

Unfortunately I cannot put the name of the view specification in the _defaultDiagramType field as that result in a simple UML Activity Diagram.

I can put BPMN2.0::Business Process in there, but then the toolbox contains all items instead of only the ones I specificed in the view specification.

Does anyone know a solution for this? For now I guess my workaround will be to add an EA-Matic script to automatically apply my view specification on new diagrams, if they are owned by my stereotype.

Geert