public abstract class AbstractBaseHandler<T> extends LongRunningHandler
Constructor and Description |
---|
AbstractBaseHandler(Class<T> type,
Boolean multi) |
Modifier and Type | Method and Description |
---|---|
protected List<T> |
collectElements(ISelection selection) |
protected boolean |
updateSelection(ISelection selection) |
cancel, checkCancelation, doExecute, doExecute, getBundleID, getTotalWork, preRun, preRun, safeExecute, setTotalWork
execute, extractEventDetails, getCommand, getSelection, getText, setEnabled
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
protected boolean updateSelection(ISelection selection)
updateSelection
in class SafeHandler
protected List<T> collectElements(ISelection selection)
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.