public abstract class LongRunningActionDelegate extends SafeActionDelegate
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() |
protected void |
preRun() |
protected void |
safeRun() |
protected void |
setTotalWork(int totalWork) |
getAction, getSelection, getText, run, selectionChanged
protected final int getTotalWork()
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, 2012 Eike Stepper (Berlin, Germany) and others.