Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Ignoring Notifications That Occur During Proxy Resolution
Ignoring Notifications That Occur During Proxy Resolution [message #378359] Fri, 08 September 2006 18:42 Go to next message
David Lynch is currently offline David LynchFriend
Messages: 27
Registered: July 2009
Junior Member
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 #378360 is a reply to message #378359] Fri, 08 September 2006 20:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
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 #378361 is a reply to message #378360] Fri, 08 September 2006 22:02 Go to previous messageGo to next message
David Lynch is currently offline David LynchFriend
Messages: 27
Registered: July 2009
Junior Member
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 #378362 is a reply to message #378361] Fri, 08 September 2006 23:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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 #582109 is a reply to message #378360] Fri, 08 September 2006 22:02 Go to previous message
David Lynch is currently offline David LynchFriend
Messages: 27
Registered: July 2009
Junior Member
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 23:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:Ignoring Notifications That Occur During Proxy Resolution
Next Topic:Beginners trouble with modeling.
Goto Forum:
  


Current Time: Thu Mar 28 21:32:57 GMT 2024

Powered by FUDForum. Page generated in 0.02318 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top