Klasse SafeHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.net4j.util.ui.handlers.SafeHandler
- Bekannte direkte Unterklassen:
LongRunningHandler
- Seit:
- 3.4
- Autor:
- Eike Stepper, Christian W. Damus (CEA LIST)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexecute(ExecutionEvent event) protected voidExtracts details from theeventthat we may need later, for example on a background thread when the original execution context is no longer valid.protected StringgetText()protected abstract ObjectsafeExecute(ExecutionEvent event) voidsetEnabled(Object evaluationContext) protected booleanupdateSelection(ISelection selection) Von 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
-
SafeHandler
public SafeHandler()
-
-
Methodendetails
-
getCommand
-
getSelection
-
execute
- Löst aus:
ExecutionException
-
setEnabled
- Angegeben von:
setEnabledin SchnittstelleIHandler2- Setzt außer Kraft:
setEnabledin KlasseAbstractHandler
-
extractEventDetails
Extracts details from theeventthat we may need later, for example on a background thread when the original execution context is no longer valid. -
safeExecute
- Löst aus:
Exception
-
getText
-
updateSelection
-