public abstract class AbstractSplashHandler extends Object
IWorkbench
or any subordinate interfaces or resources.Constructor and Description |
---|
AbstractSplashHandler() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Signal the handler to end the splash and dispose of any resources.
|
IProgressMonitor |
getBundleProgressMonitor()
Return the progress monitor responsible for showing bundle loading.
|
Shell |
getSplash()
Get the
Shell associated with this splash screen. |
void |
init(Shell splash)
Initialize this splash implementation.
|
public void init(Shell splash)
Calls to this method will be made from the UI thread.
splash
- the splash shellpublic void dispose()
Calls to this method will be made from the UI thread.
public IProgressMonitor getBundleProgressMonitor()
Calls made to methods on this progress monitor may be made from non-UI threads so implementors must take care to ensure proper synchronization with the UI thread if necessary.
Please note that progress will only be shown if the
"org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP" property has been set to
true
. Because this property defaults to false
RCP developers must set this property via a
plugin_customization.ini
file or by setting the preference
on the Platform UI preference store in the
WorkbenchAdvisor.initialize(org.eclipse.ui.application.IWorkbenchConfigurer)
method if they wish to have progress reported on startup.
public Shell getSplash()
Shell
associated with this splash screen. If this method
returns a non-null
value prior to the
init(Shell)
being invoked then this shell will be used for the
splash shell and it will subsequently be passed to the
init(Shell)
method. In this way a splash handler may participate
in splash processes prior to the workbench startup.
Calls to this method may be made from any thread. Implementors must take care to ensure proper synchronization with the UI thread if necessary.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.