[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Working Thread + View Updates

I have been looking in the newsgroup but I haven't found any possible solution.

I have a working thread and a View (ViewPart) with a table viewer. I want the working thread to add log messages as new items in the table.

I have tried with synchronized methods without success. Should I use "PlatformUI.getWorkbench().getDisplay().asyncExec"? Or somehow send messages to the my content provider class (implements "IStructuredContentProvider")? Which is the right way to do that?

I would really apreciate any help.

Best regards,
Marcos