|DeferredTreeContentManager & co. [message #902885]
||Mon, 20 August 2012 18:05
| Fabio Mancinelli
Registered: August 2012
I am writing an E4 application, and in my TreeViewer I am using a content provider that, in turn, uses a DeferredTreeContentManager for fetching my model objects in background threads.
Now, it turns out that the DeferredTreeContentManager is defined in org.eclipse.ui.workbench, which AFAIU is a problem.
In fact I've read in another thread that that when building E4 RCP application whatever is in org.eclipse.ui.* is not usable. And I've experienced this because I was trying to use a WorkbenchLabelProvider for my TreeViewer and I got this "Workbench is not started yet!" error at startup.
So the question is: is there an alternative way in E4 for doing what is done by DeferredTreeContentManager or should I rewrite my own system with Jobs etc. for doing background fetching of model objects?
Powered by FUDForum
. Page generated in 0.01609 seconds