Klasse LongRunningHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.net4j.util.ui.handlers.SafeHandler
org.eclipse.net4j.util.ui.handlers.LongRunningHandler
- Bekannte direkte Unterklassen:
AbstractBaseHandler
- Seit:
- 3.4
- Autor:
- Eike Stepper, Christian W. Damus (CEA LIST)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final voidcancel()protected final voidcheckCancelation(IProgressMonitor monitor) protected voiddoExecute(ExecutionEvent event, IProgressMonitor progressMonitor) Executes the long-running handler in a background job.protected voiddoExecute(IProgressMonitor progressMonitor) protected Stringprotected Stringprotected Stringprotected final intVeraltet.Not supported anymore.protected voidpreRun()protected voidpreRun(ExecutionEvent event) protected final ObjectsafeExecute(ExecutionEvent event) protected final voidsetTotalWork(int totalWork) Veraltet.Not supported anymore.Von Klasse geerbte Methoden org.eclipse.net4j.util.ui.handlers.SafeHandler
execute, extractEventDetails, getCommand, getSelection, getText, setEnabled, updateSelectionVon Klasse geerbte Methoden org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabledVon Klasse geerbte Methoden org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.eclipse.core.commands.IHandler
getHandlerLabel
-
Konstruktordetails
-
LongRunningHandler
public LongRunningHandler()
-
-
Methodendetails
-
getTotalWork
Veraltet.Not supported anymore. -
setTotalWork
Veraltet.Not supported anymore. -
cancel
protected final void cancel() -
safeExecute
- Angegeben von:
safeExecutein KlasseSafeHandler- Löst aus:
Exception
-
getErrorTitle
- Seit:
- 3.12
-
getErrorMessage
- Seit:
- 3.12
-
preRun
- Löst aus:
Exception- Seit:
- 3.5
-
preRun
- Löst aus:
Exception
-
getBundleID
-
doExecute
Executes the long-running handler in a background job. Note that the originalExecutionEventis not available because it is only valid during the execution of the handler call-back on the UI thread. Any details required from it must be extracted before the job is scheduled.- Löst aus:
Exception- Seit:
- 3.5
-
doExecute
- Löst aus:
Exception
-
checkCancelation
-