Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » BPMN2 Modeler extensions(Interesting blog about BPMN2 Modeler extensions)
BPMN2 Modeler extensions [message #1803908] Wed, 13 March 2019 13:08 Go to next message
Paul Leacu is currently offline Paul LeacuFriend
Messages: 1
Registered: April 2017
Junior Member
Hey - I found this interesting:


It shows an effective third party use of BPMN2.

Re: BPMN2 Modeler extensions [message #1803933 is a reply to message #1803908] Wed, 13 March 2019 20:20 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 191
Registered: July 2009
Senior Member
Here is the link:
Re: BPMN2 Modeler extensions [message #1815942 is a reply to message #1803908] Tue, 15 October 2019 15:10 Go to previous message
satya gagrani is currently offline satya gagraniFriend
Messages: 1
Registered: October 2019
Junior Member
Hi, looking to get some quick help on exception on trying to run example given on documentation link( using enumration type below when opening property page for task ( remove enumration the no error and rest of properties show up fine).looking to extend task for some usecase with enumration with simple way described in documentation...
<!-- This <modelExtension> extends BPMN2 Activity elements and all subclasses
(Task, UserTask, etc.) Besides the boolean "isDevice", the extension adds
a new type called "Device" which contains a "type" attribute (an enum) and
a "DeviceIdentifier" type which itself contains two attributes, a String
and an Integer. Note that a specialized <propertyTab> is needed to display/edit
these extensions (see below).
<modelExtension id="org.eclipse.bpmn2.modeler.examples.dynamic.activity"
name="Activity Extension"
<property name="isDevice" type="EBoolean" value="true"
label="Is Device" />
<property name="device" type="Device" label="Device Definition">
<property name="type" type="DeviceType:EEnum" value="Phone Tablet Computer Banana"
label="Device Type" />
<property name="deviceID" type="DeviceIdentifier" label="Device Details">
<property name="carrier" type="EString" value=""
label="Carrier or Service Provider" />
<property name="identifier" type="EInt" value="0"
label="Device Identifier" />

<!-- This <propertyTab> will add a new tab to the Property Sheet called "Activity
Extensions". The tab will be visible for all BPMN2 Activity objects and their
subclasses (type="org.eclipse.bpmn2.Activity") In this case, the Default
property sheet page (class="default") is sufficient to display the attributes
and elements, although we could have supplied our own Java class to handle
these extensions.
<propertyTab id=""
afterTab="" class="default"
features="isDevice device carrier identifier" type="org.eclipse.bpmn2.Activity"
label="Activity Extensions">
it error out with exception ..
at org.eclipse.bpmn2.modeler.core.model.ModelDecorator.findEClassifier(
at org.eclipse.bpmn2.modeler.core.model.ModelDecorator.addAnyAttribute(
at org.eclipse.bpmn2.modeler.core.adapters.FeatureDescriptor.internalSet(
at org.eclipse.bpmn2.modeler.core.adapters.FeatureDescriptor$1.doExecute(
at org.eclipse.emf.transaction.RecordingCommand.execute(
at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(
at org.eclipse.bpmn2.modeler.core.adapters.FeatureDescriptor.setValue(
at org.eclipse.bpmn2.modeler.core.adapters.ExtendedPropertiesProvider.setValue(
at org.eclipse.bpmn2.modeler.core.adapters.ExtendedPropertiesProvider.setValue(
at org.eclipse.bpmn2.modeler.core.merrimac.DefaultBusinessObjectDelegate.setValue(
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.ObjectEditor.setValue(
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.ComboObjectEditor.setValue(
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.ComboObjectEditor$6.selectionChanged(
at org.eclipse.jface.viewers.Viewer$
Previous Topic:Question parameters from .wid file tab "I/O Parameters"
Next Topic:BPMN2 Create new tab for the Task class
Goto Forum:

Current Time: Fri Jun 02 10:18:37 GMT 2023

Powered by FUDForum. Page generated in 0.01805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top