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, setTotalWorkexecute, extractEventDetails, getCommand, getSelection, getText, setEnabledaddHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabledaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectprotected boolean updateSelection(ISelection selection)
updateSelection in class SafeHandlerprotected List<T> collectElements(ISelection selection)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html