|Custom property tab [message #1219884]
||Fri, 06 December 2013 09:24
| Cédric Casenove
Registered: December 2013
I am trying to add a custom property tab only on a StartEvent object that contains a MessageEventDefinition.
I used the extension point org.eclipse.bpmn2.modeler.runtime and propertyTab element to do that. I set the type property to "org.eclipse.bpmn2.StartEvent" and check if the selected start event contains a message definition inside the appliesTo() method of my custom property section class that extends DefaultPropertySection.
When I create a new start event by dragging the Message Start Event of the jBPM tool palette (from Start Events category), the method appliesTo() is called but the start event does not contain any event definition at this time (I use the StartEvent.getEventDefinitions() method which returns an empty array). However, if I save the model, close it and re-open it, then when I select the start event, the event definition is here.
Do you know what I am doing wrong ?
Powered by FUDForum
. Page generated in 0.02432 seconds