Async IPropertySource [message #318088] |
Fri, 20 July 2007 08:31 |
Eclipse User |
|
|
|
When an object gets selected that can be adapted to an IPropertySource
implementing object and the PropertyPageView is being displayed then the
methods that return the property information on the IPropertySource object
get invoked inside the main SWT Display thread.
This is normally not a problem. However, if the object selected is really a
proxy for an object whose properties are stored in a DB that must be
retrieved via a WebService call it really is not a good idea to do that in
the main SWT Display thread (Locks the UI and potential thread deadlock
creator). However, if you spin that webservice call into a worker thread
there is really no way to then update the propertyPage with data when it
finaly arives from the server.
Have other people run into this situation, if so how did they handle it?
-Stu Pond
|
|
|
Powered by
FUDForum. Page generated in 0.02464 seconds