Class LongRunningActionDelegate
- java.lang.Object
- 
- org.eclipse.net4j.util.ui.actions.SafeActionDelegate
- 
- org.eclipse.net4j.util.ui.actions.LongRunningActionDelegate
 
 
- 
- All Implemented Interfaces:
- IActionDelegate
 
 public abstract class LongRunningActionDelegate extends SafeActionDelegate - Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.util.ui.actions.SafeActionDelegateINTERACTIVE
 
- 
 - 
Constructor SummaryConstructors Constructor Description LongRunningActionDelegate()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidcancel()protected voidcheckCancelation(IProgressMonitor monitor)protected abstract voiddoRun(IProgressMonitor progressMonitor)protected java.lang.StringgetBundleID()protected java.lang.StringgetErrorMessage(java.lang.Exception ex)protected java.lang.StringgetErrorTitle(java.lang.Exception ex)protected intgetTotalWork()Deprecated.Not supported anymore.protected voidpreRun()protected voidsafeRun()protected voidsetTotalWork(int totalWork)Deprecated.Not supported anymore.- 
Methods inherited from class org.eclipse.net4j.util.ui.actions.SafeActionDelegategetAction, getSelection, getShell, getText, run, selectionChanged
 
- 
 
- 
- 
- 
Method Detail- 
getTotalWork@Deprecated protected final int getTotalWork() Deprecated.Not supported anymore.
 - 
setTotalWork@Deprecated protected final void setTotalWork(int totalWork) Deprecated.Not supported anymore.
 - 
cancelprotected final void cancel() 
 - 
safeRunprotected final void safeRun() throws java.lang.Exception- Specified by:
- safeRunin class- SafeActionDelegate
- Throws:
- java.lang.Exception
 
 - 
preRunprotected void preRun() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
getBundleIDprotected java.lang.String getBundleID() 
 - 
getErrorTitleprotected java.lang.String getErrorTitle(java.lang.Exception ex) - Since:
- 3.12
 
 - 
getErrorMessageprotected java.lang.String getErrorMessage(java.lang.Exception ex) - Since:
- 3.12
 
 - 
doRunprotected abstract void doRun(IProgressMonitor progressMonitor) throws java.lang.Exception - Throws:
- java.lang.Exception
- Since:
- 2.0
 
 - 
checkCancelationprotected final void checkCancelation(IProgressMonitor monitor) 
 
- 
 
-