Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » DeferredTreeContentManager & co.
DeferredTreeContentManager & co. [message #902885] Mon, 20 August 2012 18:05 Go to next message
Eclipse UserFriend
Hi everybody.

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?

Thanks,
Fabio


Re: DeferredTreeContentManager & co. [message #902961 is a reply to message #902885] Tue, 21 August 2012 08:33 Go to previous message
Eclipse UserFriend
I've never looked at DeferredTreeContentManager, but you could always copy it out into a separate bundle (thus respecting the EPL).
Previous Topic:How can I prevent a part stack from switching view parts?
Next Topic:cannot find org.eclipse.e4.demo.tools.simpleide
Goto Forum:
  


Current Time: Wed Jul 02 20:58:37 EDT 2025

Powered by FUDForum. Page generated in 0.03770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top