Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 102866

Summary: Need API for updating the splash screen's progress bar
Product: [Eclipse Project] Platform Reporter: Boris Bokowski <bokowski>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: litrik_de_roy, pascal
Version: 3.1   
Target Milestone: 3.2   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 7022    
Attachments:
Description Flags
patch to org.eclipse.platform
none
patch to org.eclipse.osgi
none
patch to org.eclipse.core.runtime none

Description Boris Bokowski CLA 2005-07-06 10:47:00 EDT
The SWT team has implemented support for a progress bar and a message area
inside of the splash screen. We need API to communicate startup progress to the
launcher executable.

One way of doing this would be to add a method to Platform.java that returns a
progress monitor instance.

Apart from the actual progress reporting (total work, work done so far,
message), the launcher needs to know where in the splash screen the progress
should be shown (x, y, width, height), plus there are some more things that are
or will be configurable.  These configuration values should be provided
externally, not by us.

When you have time, please come by to discuss how best to do this.
Comment 1 Boris Bokowski CLA 2005-08-02 14:05:29 EDT
Created attachment 25574 [details]
patch to org.eclipse.platform
Comment 2 Boris Bokowski CLA 2005-08-02 14:05:58 EDT
Created attachment 25575 [details]
patch to org.eclipse.osgi
Comment 3 Boris Bokowski CLA 2005-08-02 14:06:28 EDT
Created attachment 25576 [details]
patch to org.eclipse.core.runtime
Comment 4 Boris Bokowski CLA 2005-08-02 14:08:24 EDT
I would like to get this in for 3.2M1.  Do you think we can still make it?
Comment 5 Pascal Rapicault CLA 2005-08-16 11:52:57 EDT
This has been released in M1, but it is only an interim solution. Moving the
milestone to M2 so we remember to find a real solution to this problem.
Comment 6 Pascal Rapicault CLA 2006-03-31 09:05:10 EST
The current solution seems to suit everybody. Closing as fixed. We should reopen with more specific problems if necessary.