|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #378362 is a reply to message #378361] |
Fri, 08 September 2006 23:23 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
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?
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #582097 is a reply to message #378359] |
Fri, 08 September 2006 20:45 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
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
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: Ignoring Notifications That Occur During Proxy Resolution [message #582134 is a reply to message #378361] |
Fri, 08 September 2006 23:23 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
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?
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02318 seconds