Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Progress bar in splash shows for a very short time
Progress bar in splash shows for a very short time [message #517161] Fri, 26 February 2010 12:33
Henno Vermeulen is currently offline Henno VermeulenFriend
Messages: 126
Registered: July 2009
Senior Member
The problem: we have an Eclipse product with splash screen which shows for less than half a second when activating the eclipse help plugin but startup of the bundles takes 15 seconds.

This is caused by Eclipse not showing the progress bar before it initiates org.eclipse.ui.handlers extensions. Is there a way to show the progress bar before Eclipse tries to instantiate them?


The details:

I have an Eclipse RCP application with Spring-DM bundles that need to auto-start at start level 4 (see this blog). We also have a non-eclipse-specific OSGi client bundle which connects to the server.

All bundles (except the eclipse help plugin) are active within about 2 seconds, but after this, Spring-DM is still loading classes and connecting to the server for our client bundle which takes more than 10 seconds.

We have a few Plugins with org.eclipse.ui.handlers extensions which are currently programmed to wait until the client bundle publishes its service before their construction is finished. (using the SpringExtensionFactory, see this blog).

I added a splash screen to our product which shows for about 15 seconds before the workbench shows. Note that if the creation of the handlers would not block, the workbench would show much earlier but the connection to the server is not finished yet.

(We will probably adjust the handlers to take into account the possible absence of the services, but this still doesn't completely solve the problem)
Previous Topic:Using custom parser for org.apache.commons.net.ftp in RCP
Next Topic:start the rcp with a wizard
Goto Forum:
  


Current Time: Sat Apr 27 01:59:35 GMT 2024

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

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

Back to the top