EContentAdapter on BPMN EMF model [message #652682] |
Sat, 05 February 2011 08:34 |
|
Hi,
I am trying to integrate with the BPMN modeler. My domain model is also an EMF model.
I wanted to listen to changes in the BPMN EMF model and correspondingly make changes to my domain model.
I created my EContentAdapter to listen to these changes:
editor.getDiagram.getElement().eAdapters().add(myListener)
However whenever the name of an Activity (Task) is modified I dont get any notifications. I only get notifications on Add and Remove.
I am not sure why this is happening. What exactly am I missing?
Also I want to listen to changes on even those BPMN models (editor) that are already opened (from my previous run).
What would be the best way to achieve this.
Any help would be really appreciated.
Thanks a lot,
Nidhi
P.S: I was not sure whether to post this on the BPMN newsgrp or EMF newsgrp. Please do let me know in case this is not the right place.
|
|
|
|
Re: EContentAdapter on BPMN EMF model [message #652702 is a reply to message #652685] |
Sat, 05 February 2011 17:52 |
|
Hi Tom,
Awesome!!! this works.
I am just curious to know how did this worked!
For Add and Remove it works just fine, but for modifications it does not. Is it to do something with Add and Remove notifications coming from the parent. I need to dig deeper.
Thanks a lot ,
Nidhi
|
|
|
Re: EContentAdapter on BPMN EMF model [message #652704 is a reply to message #652702] |
Sat, 05 February 2011 18:06 |
|
Hi Tom,
Would you also have the answer to my second question:
Also I want to listen to changes on even those BPMN models (editor) that are already opened (from my previous run). What would be the best way to achieve this.
Thanks again,
Nidhi
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02990 seconds