public abstract class LongRunningActionDelegate extends SafeActionDelegate
INTERACTIVE
Constructor and Description |
---|
LongRunningActionDelegate() |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel() |
protected void |
checkCancelation(IProgressMonitor monitor) |
protected abstract void |
doRun(IProgressMonitor progressMonitor) |
protected String |
getBundleID() |
protected int |
getTotalWork()
Deprecated.
Not supported anymore.
|
protected void |
preRun() |
protected void |
safeRun() |
protected void |
setTotalWork(int totalWork)
Deprecated.
Not supported anymore.
|
getAction, getSelection, getShell, getText, run, selectionChanged
@Deprecated protected final int getTotalWork()
@Deprecated protected final void setTotalWork(int totalWork)
protected final void cancel()
protected final void safeRun() throws Exception
safeRun
in class SafeActionDelegate
Exception
protected String getBundleID()
protected abstract void doRun(IProgressMonitor progressMonitor) throws Exception
Exception
protected final void checkCancelation(IProgressMonitor monitor)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.