Skip to main content
Jump to: navigation, search

SOA/BPMN Modeler/Developing with the BPMN modeler

< SOA/BPMN Modeler
Revision as of 11:45, 15 February 2008 by (Talk | contribs) (Hiding elements in the popup toolbar and the end connections menus)

This page is about developing with the STP BPMN modeler, by contributing and/or removing actions, shapes, etc.


Adding menu items

Adding a menu item

Adding a menu

Adding toolbar extensions

Adding a toolbar item

Adding a toolbar group

Removing menu items

Creating a new drag and drop (DND) interaction

Creating a DND to add a semantic element (eg annotation)

Creating a DND to add a graphical element

Hiding elements of the palette

Hiding elements in the popup toolbar and the end connections menus

Full sample

You need to create your own editor, subclassing the BpmnDiagramEditor.

In this editor you will override the method createDiagramEditDomain:

   protected void createDiagramEditDomain() {
       BpmnDiagramEditDomain domain = new BpmnDiagramEditDomain(this);
       Set<IElementType> types = new HashSet<IElementType>();
       for (Object gatewayType : ActivityType.VALUES_GATEWAYS) {
                   ((ActivityType) gatewayType).getLiteral()));

Back to the top