<div dir="ltr"><div><div><div>Hello, <br><br></div>Not sure I should be posting this here, but my try on the forums was not very successful. Anyway, I&#39;m trying to add a popup menu on a right click on JBPM diagram nodes. I need to find the element from the bpmn2 model associated to this edit part. I have to precise I do edit bpmn2 models, from the org.eclipse.bpmn2 feature (which contains the associated ecore metamodel). <br>

<br>Now, from what I gather, the bpmn models originally used by jbpm was pure xml, and some mechanisms (wrappers?) have been used to allow the coexistence of both models. However, I really need to access the bpmn2 model element from the edit part. Is that possible ? I&#39;m inclined to change the source of the org.drools.eclipse and org.jbpm.eclipse plugins to export the required packages if needed, and build my own feature after these changes, but I&#39;d really like to know how the wrapping mechanisms work and how they can be reverted. <br>
<br></div>Any pointers would be welcome. <br><br>Thank you, and have a nice day :) <br><br></div>PS : would it be easier for me to do this using the 6.0 beta version ?<br>
</div>