Adding Listener to Process Editor in Business Modeler [message #328506] |
Mon, 26 May 2008 19:59 |
Eclipse User |
|
|
|
Originally posted by: lbarbour.gmail.com
I am trying to build a plug-in for WebSphere Business Modeler Advanced v.
6.0.2. It tracks changes in the process models, and lists them in a view.
I am trying to add a listener to the process editor. I need to record when
changes occur (such as addition of an element, a name change, etc), what
the change is, and which elements are affected.
I am having trouble determining which listener to use, and where to add
it. Do I apply it to the process editor? I have been able to add a
selection listener, but I want my plug-in to automatically update when a
change occurs.
|
|
|
Re: Adding Listener to Process Editor in Business Modeler [message #328538 is a reply to message #328506] |
Tue, 27 May 2008 13:13 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Lili,
I think you should be asking this question on a forum where that product
is directly supported. If the modeler is using EMF then likely the
objects in the editor are EObjects and hence Notifiers, so it would be
possible to attach an EContentAdapter to the root ResourceSet of the
editor (if it even provides API-based access to that) to listen to all
changes that occur to any object in that editor.
Lili wrote:
> I am trying to build a plug-in for WebSphere Business Modeler Advanced
> v. 6.0.2. It tracks changes in the process models, and lists them in a
> view.
>
> I am trying to add a listener to the process editor. I need to record
> when changes occur (such as addition of an element, a name change,
> etc), what the change is, and which elements are affected.
>
> I am having trouble determining which listener to use, and where to
> add it. Do I apply it to the process editor? I have been able to add a
> selection listener, but I want my plug-in to automatically update when
> a change occurs.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02437 seconds