Cannot able to update TableItem dynamically from a thread written inside asyncexec Method [message #289813] |
Thu, 11 August 2005 00:59  |
Eclipse User |
|
|
|
Originally posted by: muthu.velappan.aspiresys.com
Hi All,
I'm into the development of a plug-in which monitors others system and
updates its resources in the Table View.
I'm using a thread written inside aysncexec method which monitors the system
continuously and gets the result from ResultAdapter class. Upto this
everything works fine.
The problem occurs, when I try to update the result from ResultAdapter into
Tableview. The result gets updated into the TableView, but I can able to
view it only when I stop that thread. It doesn't shows the result in table
while the thread is running but If I create a new column inside
getElements() method of ContentProvider I can able to see the output even
when the thread is running. Also, If I switch to other windows the plug-in
hangs indefinitely because of the thread written inside the asyncexec
method.
Can any one please help me on this stating how to proceed or where I'm going
wrong.
Thanks in Advance
Muthu.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06931 seconds