Package org.eclipse.ui.views.navigator
Class RefactorActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
org.eclipse.ui.views.navigator.RefactorActionGroup
Deprecated, for removal: This API element is subject to removal in a future version.
as of 3.5, use the Common Navigator Framework classes instead
This is the action group for refactor actions, including global action
handlers for copy, paste and delete.
- Since:
- 2.0
-
Field Summary
Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator -
Constructor Summary
ConstructorsConstructorDescriptionRefactorActionGroup(IResourceNavigator navigator) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Deprecated, for removal: This API element is subject to removal in a future version.This method is called by the user of an action group to signal that the group is no longer needed.voidfillActionBars(IActionBars actionBars) Deprecated, for removal: This API element is subject to removal in a future version.Adds the applicable actions to a part's action bars, including setting any global action handlers.voidfillContextMenu(IMenuManager menu) Deprecated, for removal: This API element is subject to removal in a future version.Adds the applicable actions to a context menu, based on the state of theActionContext.voidhandleKeyPressed(KeyEvent event) Deprecated, for removal: This API element is subject to removal in a future version.Handles a key pressed event by invoking the appropriate action.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Makes the actions contained in this action group.voidDeprecated, for removal: This API element is subject to removal in a future version.Updates the state of the actions added to the action bars, including any global action handlers, based on the state of theActionContext.Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
getImageDescriptor, getNavigator, runDefaultActionMethods inherited from class org.eclipse.ui.actions.ActionGroup
getContext, setContext
-
Constructor Details
-
Method Details
-
dispose
public void dispose()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupThis method is called by the user of an action group to signal that the group is no longer needed. Subclasses typically implement this method to deregister any listeners or to free other resources.The default implementation calls
setContext(null). Subclasses may extend this method.- Overrides:
disposein classActionGroup
-
fillContextMenu
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupAdds the applicable actions to a context menu, based on the state of theActionContext.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
fillContextMenuin classActionGroup- Parameters:
menu- the context menu manager
-
fillActionBars
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupAdds the applicable actions to a part's action bars, including setting any global action handlers.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
fillActionBarsin classActionGroup- Parameters:
actionBars- the part's action bars
-
handleKeyPressed
Deprecated, for removal: This API element is subject to removal in a future version.Handles a key pressed event by invoking the appropriate action.- Overrides:
handleKeyPressedin classResourceNavigatorActionGroup
-
makeActions
protected void makeActions()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ResourceNavigatorActionGroupMakes the actions contained in this action group.- Specified by:
makeActionsin classResourceNavigatorActionGroup
-
updateActionBars
public void updateActionBars()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupUpdates the state of the actions added to the action bars, including any global action handlers, based on the state of theActionContext.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
updateActionBarsin classActionGroup
-