- All Implemented Interfaces:
IAddMemoryRenderingsTargetadapter provided by the active debug context, creating a context menu to add applicable renderings to the memory view.
Clients may reference/contribute this class as an action delegate in plug-in XML.
- This class is not intended to be subclassed by clients.
- This class is not intended to be instantiated by clients.
Method SummaryModifier and TypeMethodDescription
dispose()Allows the action delegate to clean up.
voidAllows the action delegate to initialize itself after being created by the proxy action.
voidInitializes this action delegate with the view it will work in.
voidPerforms this action.
voidPerforms this action, passing the SWT event which triggered it.
voidNotifies this action delegate that the selection in the workbench has changed.
voidSets the active editor for the delegate.
voidSets the active part for the delegate.
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
initpublic void init
(IViewPart view)Description copied from interface:
IViewActionDelegateInitializes this action delegate with the view it will work in.
runpublic void run
(IAction action)Description copied from interface:
IActionDelegatePerforms this action.
This method is called by the proxy action when the action has been triggered. Implement this method to do the actual work.
Note: If the action delegate also implements
IActionDelegate2, then this method is not invoked but instead the
runWithEvent(IAction, Event)method is called.
selectionChangedDescription copied from interface:
IActionDelegateNotifies this action delegate that the selection in the workbench has changed.
Implementers can use this opportunity to change the availability of the action or to modify other presentation properties.
When the selection changes, the action enablement state is updated based on the criteria specified in the plugin.xml file. Then the delegate is notified of the selection change regardless of whether the enablement criteria in the plugin.xml file is met.
setActiveEditorDescription copied from interface:
IEditorActionDelegateSets the active editor for the delegate. Implementors should disconnect from the old editor, connect to the new editor, and update the action to reflect the new editor.
setActivePartDescription copied from interface:
IObjectActionDelegateSets the active part for the delegate. The active part is commonly used to get a working context for the action, such as the shell for any dialog which is needed.
This method will be called every time the action appears in a popup menu. The targetPart may change with each invocation.
initpublic void init
(IAction action)Allows the action delegate to initialize itself after being created by the proxy action. This lifecycle method is called after the action delegate has been created and before any other method of the action delegate is called.
disposepublic void dispose()Allows the action delegate to clean up. This lifecycle method is called when the proxy action is done with this action delegate. This is the last method called.
runWithEventPerforms this action, passing the SWT event which triggered it. This method is called by the proxy action when the action has been triggered. Implement this method to do the actual work.
Note: This method is called instead of