|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PostShutdownTask
Encapsulates a task that needs to be run after the workbench has shutdown.
It can be submitted to the ShutdownTaskList
object .
Methods are NOT called in the Display thread.
Method Summary | |
---|---|
int |
getProgressMonitorSteps()
Returns the number of steps postShutdown(IProgressMonitor, IWorkbench) will use. |
void |
handlePostShutdownException(java.lang.Throwable t)
Called if #postShutdown(IWorkbench) throws an exception |
void |
postShutdown(IProgressMonitor monitor,
IWorkbench workbench)
Called after shutdown is complete, at this point it is too late to cancel. |
Method Detail |
---|
void postShutdown(IProgressMonitor monitor, IWorkbench workbench) throws java.lang.Exception
monitor
- the progress monitor to use.workbench
- workbench that is shutting down
java.lang.Exception
void handlePostShutdownException(java.lang.Throwable t)
#postShutdown(IWorkbench)
throws an exception
t
- the exceptionint getProgressMonitorSteps()
postShutdown(IProgressMonitor, IWorkbench)
will use.
This is called only once just before all shutdown tasks are run.
postShutdown(IProgressMonitor, IWorkbench)
will use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |