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 IActionDelegate
public void run(IAction action)
run
in interface IActionDelegate
protected String getText()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.