Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to create modeless dialog and update it from UI thread?
https://www.eclipse.org/forums/index.php/mv/msg/164066/519476/#msg_519476
and have it stay open during the process (during which the process will
be sending information to methods in the dialog to update elements
(labels) based on the stages of the process).
I've read about Display.asyncExec, but I can't figure out if this is
necessary and where/how this would be used in this case..
Anyone have experience with this?]]>MP Mising name2010-03-08T18:08:22-00:00Re: How to create modeless dialog and update it from UI thread?
https://www.eclipse.org/forums/index.php/mv/msg/164066/519623/#msg_519623
> necessary and where/how this would be used in this case..
asyncExec is significantly used when you are in a different (non-UI)
thread and try to update the widgets/display from a non-UI thread. Also,
you can use this if you have certain code that has to be run after the
next reasonable oppurtunity (ie., after all the current events are
processed).
In your scenario, I don't find that the method asyncExec is really
required. HTH.]]>Praveen 2010-03-09T09:24:08-00:00