Package com.iizigo
Class Startup
java.lang.Object
com.iizigo.Startup
- All Implemented Interfaces:
- IStartup
The start-up class for UI processing.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static void- callOnStart- (Runnable callback) Calls the runnable callback in the SWT thread upon startup completed.- voidWill be called in a separate thread after the workbench initializes.- static booleanChecks if the IIZI Plug-ins are starting up and if so, registers a callback that will be called from the SWT thread when the startup has completed.- static boolean- isStartingUp- (Runnable callback) Checks if the IIZI Plug-ins are starting up and if so, registers a callback that will be called from the SWT thread when the startup has completed.- static boolean- isStartingUp2- (Runnable callback) Checks if the IIZI Plug-ins are starting up and if so, registers a callback that will be called from the SWT thread when the startup has completed.
- Constructor Details- Startuppublic Startup()The Eclipse constructor.
 
- Method Details- earlyStartuppublic void earlyStartup()Will be called in a separate thread after the workbench initializes.- DO NOT CALL THIS METHOD, ECLIPSE FRAMEWORK WILL DO SO. - Specified by:
- earlyStartupin interface- IStartup
 
- isStartingUppublic static boolean isStartingUp()Checks if the IIZI Plug-ins are starting up and if so, registers a callback that will be called from the SWT thread when the startup has completed.- Returns:
- true If starting up, false otherwise.
 
- isStartingUpChecks if the IIZI Plug-ins are starting up and if so, registers a callback that will be called from the SWT thread when the startup has completed.- The calls to - isStartingUpwill be invoked before all callbacks from- isStartingUp2.- Parameters:
- callback- Callback that will be invoked when start-up is completed, unless already completed.
- Returns:
- true If starting up and callbackwill be called later, false otherwise.
 
- callOnStartCalls the runnable callback in the SWT thread upon startup completed. If already started, the callback is called asynchronously if not called from the SWT thread.- Parameters:
- callback- The callback.
 
- isStartingUp2Checks if the IIZI Plug-ins are starting up and if so, registers a callback that will be called from the SWT thread when the startup has completed.- The calls to - isStartingUp2will be invoked after all callbacks from- isStartingUp.- This method causes the callbacks to be called last in the chain when startup completes. - Parameters:
- callback- Callback that will be invoked when start-up is completed, unless already completed.
- Returns:
- true If starting up and callbackwill be called later, false otherwise.