Class SafeActionDelegate
- java.lang.Object
- 
- org.eclipse.net4j.util.ui.actions.SafeActionDelegate
 
- 
- All Implemented Interfaces:
- IActionDelegate
 - Direct Known Subclasses:
- LongRunningActionDelegate
 
 public abstract class SafeActionDelegate extends java.lang.Object implements IActionDelegate - Author:
- Eike Stepper
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringINTERACTIVE
 - 
Constructor SummaryConstructors Constructor Description SafeActionDelegate()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IActiongetAction()ISelectiongetSelection()ShellgetShell()protected java.lang.StringgetText()voidrun(IAction action)protected abstract voidsafeRun()voidselectionChanged(IAction action, ISelection selection)
 
- 
- 
- 
Method Detail- 
getShellpublic Shell getShell() - Since:
- 3.5
 
 - 
getActionpublic IAction getAction() 
 - 
getSelectionpublic ISelection getSelection() 
 - 
selectionChangedpublic void selectionChanged(IAction action, ISelection selection) - Specified by:
- selectionChangedin interface- IActionDelegate
 
 - 
runpublic void run(IAction action) - Specified by:
- runin interface- IActionDelegate
 
 - 
safeRunprotected abstract void safeRun() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
getTextprotected java.lang.String getText() 
 
- 
 
-