Hello,

in my app, I've got a tree that displays data for my EntityProxies. Now when 
an EntityProxy is updated, I'd like to update the data shown in the tree. 
For this, I've implemented an EntityProxyChange handler that is then 
registered for the type of EntityProxies I want to handle the updates for.

This works fine. Every time I persist my EntityProxies, an 
EntityProxyChangeEvent with an UPDATE WriteOperation is fired and it ends up 
in my handler.

The problem is that the handler is also notified when the tree loads the 
data (every time a new node is expanded). I guess this happens because 
seeing an EntityProxy for the first time is also an EntityProxyChangeEvent 
with an UPDATE WriteOperation.

How can I distinguish these two different events?

regards 

Tom


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/c2Gx-bC7neIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to