public abstract class SafeActionDelegate extends Object implements IActionDelegate
Constructor and Description |
---|
SafeActionDelegate() |
Modifier and Type | Method and Description |
---|---|
IAction |
getAction() |
ISelection |
getSelection() |
protected String |
getText() |
void |
run(IAction action) |
protected abstract void |
safeRun() |
void |
selectionChanged(IAction action,
ISelection selection) |
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, 2012 Eike Stepper (Berlin, Germany) and others.