Illegal Thread Access [message #246131] |
Thu, 27 May 2004 06:50  |
Eclipse User |
|
|
|
Originally posted by: giuseppeacito.mclink.it
Hi all,
I've an IStreamListener who monitors the output of an external process,
and when it catches a specified pattern, it should refresh a list in a
ViewPart. I'm aware that the IStreamListener is out of the main UI Thread,
how can I synchronize the two classes? Whenever I try to call the refresh
method over the Viewer inside the StreamListener, it blocks.
I'm using Eclipse 3.0M8
Thanks,
Giuseppe
|
|
|
|
Re: Illegal Thread Access [message #247486 is a reply to message #246254] |
Mon, 31 May 2004 06:29  |
Eclipse User |
|
|
|
Originally posted by: giuseppeacito.mclink.it
On Thu, 27 May 2004 09:49:36 -0400, Rich Kulp wrote:
> You need to use Display.asyncExec
Thank you very much, I was a little lost (I thought I had to watch for
another Listener to register.
Thanks
Giuseppe
|
|
|
Powered by
FUDForum. Page generated in 0.03692 seconds