public abstract class SafeActionDelegate extends Object implements IActionDelegate
| Modifier and Type | Field and Description |
|---|---|
static String |
INTERACTIVE |
| Constructor and Description |
|---|
SafeActionDelegate() |
| Modifier and Type | Method and Description |
|---|---|
IAction |
getAction() |
ISelection |
getSelection() |
Shell |
getShell() |
protected String |
getText() |
void |
run(IAction action) |
protected abstract void |
safeRun() |
void |
selectionChanged(IAction action,
ISelection selection) |
public static final String INTERACTIVE
public Shell getShell()
public IAction getAction()
public ISelection getSelection()
public void selectionChanged(IAction action, ISelection selection)
selectionChanged in interface IActionDelegatepublic void run(IAction action)
run in interface IActionDelegateprotected String getText()
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