Package org.eclipse.ui.actions
Class ActionDelegate
java.lang.Object
org.eclipse.ui.actions.ActionDelegate
- All Implemented Interfaces:
- IActionDelegate,- IActionDelegate2
- Direct Known Subclasses:
- AbstractRulerActionDelegate
Abstract base implementation of 
IActionDelegate and
 IActionDelegate2 for a client delegate action.
 
 Subclasses should reimplement runWithEvent or run
 methods to do the action's work, and may reimplement
 selectionChanged to react to selection changes in the workbench.
 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddispose()TheActionDelegateimplementation of thisIActionDelegate2method does nothing.voidTheActionDelegateimplementation of thisIActionDelegate2method does nothing.voidTheActionDelegateimplementation of thisIActionDelegatemethod does nothing.voidrunWithEvent(IAction action, Event event) TheActionDelegateimplementation of thisIActionDelegate2method redirects to therunmethod.voidselectionChanged(IAction action, ISelection selection) TheActionDelegateimplementation of thisIActionDelegatemethod does nothing.
- 
Constructor Details- 
ActionDelegatepublic ActionDelegate()
 
- 
- 
Method Details- 
runTheActionDelegateimplementation of thisIActionDelegatemethod does nothing. Subclasses may reimplement.Note: This method is not called directly by the proxy action. Only by the default implementation of runWithEventof this abstract class.- Specified by:
- runin interface- IActionDelegate
- Parameters:
- action- the action proxy that handles the presentation portion of the action
 
- 
selectionChangedTheActionDelegateimplementation of thisIActionDelegatemethod does nothing. Subclasses may reimplement.- Specified by:
- selectionChangedin interface- IActionDelegate
- Parameters:
- action- the action proxy that handles presentation portion of the action
- selection- the current selection, or- nullif there is no selection.
 
- 
initTheActionDelegateimplementation of thisIActionDelegate2method does nothing. Subclasses may reimplement.- Specified by:
- initin interface- IActionDelegate2
- Parameters:
- action- the proxy action that handles the presentation portion of the action.
 
- 
disposepublic void dispose()TheActionDelegateimplementation of thisIActionDelegate2method does nothing. Subclasses may reimplement.- Specified by:
- disposein interface- IActionDelegate2
 
- 
runWithEventTheActionDelegateimplementation of thisIActionDelegate2method redirects to therunmethod. Subclasses may reimplement.- Specified by:
- runWithEventin interface- IActionDelegate2
- Parameters:
- action- the action proxy that handles the presentation portion of the action
- event- the SWT event which triggered this action being run
 
 
-