Ignoring Notifications That Occur During Proxy Resolution [message #378359] |
Fri, 08 September 2006 14:42  |
Eclipse User |
|
|
|
Ed, David et al:
I have an editor that determines whether it is "dirty" by listening for
EMF model notifications. There are a few exclusions which are universal,
such as isTouch and REMOVE_ADAPTER, but I've run into a new category of
notification that is erroneously triggering my "dirty" state: proxy load
notifications.
As you know, when a proxy is resolved EMF generates notifications as the
new EMF objects are loaded; however, from a logical standpoint the
information content of the EMF datagraph has not really changed.
I need a way to differentiate "real" changes from proxy resolutions. Is
there a way to do this?
Sincerely,
Dave Lynch
|
|
|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #378362 is a reply to message #378361] |
Fri, 08 September 2006 19:23  |
Eclipse User |
|
|
|
David,
No. I wouldn't expect ADD/SET notifications for "normal" proxy
resolves. What's causes this?
David Lynch wrote:
> Ed, sorry about posting it in the wrong group. Hey these proxy
> resolution notifications are coming through as event type
> Notification.ADD and Notification.SET. It is as if during proxy
> resolution, EMF is triggering events as if it were a client as it lazy
> loads the objects. Is this behavior that I'm seeing expected?
>
|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #582097 is a reply to message #378359] |
Fri, 08 September 2006 16:45  |
Eclipse User |
|
|
|
David,
This is really just an EMF question better for the EMF newsgroup. You
can ignore the event type Notification.RESOLVE.
David Lynch wrote:
> Ed, David et al:
>
> I have an editor that determines whether it is "dirty" by listening
> for EMF model notifications. There are a few exclusions which are
> universal, such as isTouch and REMOVE_ADAPTER, but I've run into a new
> category of notification that is erroneously triggering my "dirty"
> state: proxy load notifications.
>
> As you know, when a proxy is resolved EMF generates notifications as
> the new EMF objects are loaded; however, from a logical standpoint the
> information content of the EMF datagraph has not really changed.
>
> I need a way to differentiate "real" changes from proxy resolutions.
> Is there a way to do this?
>
> Sincerely,
> Dave Lynch
>
|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #582109 is a reply to message #378360] |
Fri, 08 September 2006 18:02  |
Eclipse User |
|
|
|
Ed, sorry about posting it in the wrong group. Hey these proxy resolution
notifications are coming through as event type Notification.ADD and
Notification.SET. It is as if during proxy resolution, EMF is triggering
events as if it were a client as it lazy loads the objects. Is this
behavior that I'm seeing expected?
|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #582134 is a reply to message #378361] |
Fri, 08 September 2006 19:23  |
Eclipse User |
|
|
|
David,
No. I wouldn't expect ADD/SET notifications for "normal" proxy
resolves. What's causes this?
David Lynch wrote:
> Ed, sorry about posting it in the wrong group. Hey these proxy
> resolution notifications are coming through as event type
> Notification.ADD and Notification.SET. It is as if during proxy
> resolution, EMF is triggering events as if it were a client as it lazy
> loads the objects. Is this behavior that I'm seeing expected?
>
|
|
|
Powered by
FUDForum. Page generated in 0.04254 seconds