Eclipse BPMN2 Modeler

By Maurizio Farina | Posted on October 2017 | DRAFT

The BPMN2 Modeler is a graphical modeling tool for business processes using BPMN2 notation.

The Eclise BPMN2 Modeler is easy to customize for domain specific activities thanks to jBPM but is not possible to modify forms.

Install the plug-in

Follow the instructions:

  • Start Eclipse: Select menu Help/Install New Software
  • Select Add: Type BPMN2 and the url http://download.eclipse.org/bpmn2-modeler/updates/neon/ (in my case Eclipse release is "neon")
  • Select all plug-ins under "Eclipse BPMN2 Modeler"

Build the plug-in

The steps are the following:

  • Download the code
  • Build the parent pom for a specific Eclipse release
  • Build the pom
  • Removed features

Donwload the code The source code is hosted on GitHub. Download from here and unzip folder.

Build the parent pom for a specific Eclipse release

1
2
cd parent
mvn clean install -P platform-neon

Build the pom

To avoid to compile example and tests i have removed the following pom files:

from /pom.xml:

1
2
3
4
<!--
<module>examples</module>
<module>tests</module>
-->

from /features/pom.xml

1
<!--module>org.eclipse.bpmn2.modeler.examples</module-->

Removed Features:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
\features\org.eclipse.bpmn2.modeler.updatesite\category.xml
<!--
<feature url="features/org.eclipse.bpmn2.modeler.examples_0.0.0.jar" id="org.eclipse.bpmn2.modeler.examples" version="0.0.0">
    <category name="Eclipse BPMN2 Modeler"/>
</feature>
-->

<!--
<feature url="features/org.eclipse.bpmn2.modeler.examples.source_0.0.0.jar" id="org.eclipse.bpmn2.modeler.examples.source" version="0.0.0">
    <category name="Eclipse BPMN2 Modeler Sources"/>
</feature>
   -->

Compile everything (in my case for Eclipse neon):

1
mvn clean install -P platform-neon

Customize Task Form

The class to analyze is "WorkItemEditor.java":

1
\plugins\org.eclipse.bpmn2.modeler.runtime.jboss.jbpm\src\org\eclipse\bpmn2\modeler\runtime\jboss\jbpm5\wid\editor\WorkItemEditor.java