Invalid thread access adding item to TableViewer.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rob_Golder
Posted On:   Friday, July 21, 2006 03:45 AM

I have a TableViewer object in a view (as part of a plug in development project). The view is subscribed to a JMS Topic, and when its listener is notified of a message, the onMessage method attempts to add an item to the instance of the TableViewer.



However the checkWidget() method in Widget is called, which throws the error as the display thread is not the current thread.



How how I add an item to the TableViewer based on a message received from a JMS Topic?



Thanks,

Rob.

About | Sitemap | Contact