|FeatureProvider is not getting the DeleteFeature from my customTask [message #1061279]
||Thu, 30 May 2013 18:53
| Marco Roque
Registered: July 2012
Hello guys, |
First of all i'm giving my first steps in BPMN2Modeler project and let me give you my congrats for your work.
I'm currently extending the BPMN2Modeler runtime to add a customTask with the type "TextAnnotation" just like in the "org.eclipse.bpmn2.modeler.runtime.example".
This customTask has a featureContainer where i have adapted the CreateFeature and the AddFeature, and all works just fine.
Now, i want to adapt the DeleteFeature, but it is not executed.
I've been messing around with the debugger, and it seems that the BPMNFeatureProvider is getting the DeleteFeature for the TextAnnotation and not for my customTask, because the getFeatureContainer(context) method is returning the TextAnnotation FeatureContainer.
Do you have any idea of why does this happen and how can i work my way around this in order to make my DeleteFeature work?
I hope this info helps you guys to discover the problem.
Powered by FUDForum
. Page generated in 0.01686 seconds