Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » DeferredTreeContentManager & co.
DeferredTreeContentManager & co. [message #902885] Mon, 20 August 2012 22:05 Go to next message
Fabio Mancinelli is currently offline Fabio MancinelliFriend
Messages: 8
Registered: August 2012
Junior Member
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?


Re: DeferredTreeContentManager & co. [message #902961 is a reply to message #902885] Tue, 21 August 2012 12:33 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
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
Goto Forum:

Current Time: Fri Apr 16 15:26:35 GMT 2021

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

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

Back to the top