Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to make sure that the view and model are in sync?
How to make sure that the view and model are in sync? [message #663744] Wed, 06 April 2011 10:51
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
Hi all,

I've got a piece of code where a model is changed and later a view of
the model is to be used in an image export.
It works alright, but only if I insert a sleep of at least 500 ms before
the export. It seems to take some time for the view to get updated and
show the actual state of the model.
So, my question is: is there a way for me to check whether the view is
in sync with the model?

Regards,
Chris
Previous Topic:Additional Composite on GraphicalEditorWithPalette ?
Next Topic:Property Sheet
Goto Forum:
  


Current Time: Tue Sep 23 08:40:52 GMT 2014

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

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