Package org.eclipse.ui.views.navigator
Class OpenActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
org.eclipse.ui.views.navigator.OpenActionGroup
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 the open actions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.The id for the Open With submenu.Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator -
Constructor Summary
ConstructorsConstructorDescriptionOpenActionGroup(IResourceNavigator navigator) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new action group for open actions. -
Method Summary
Modifier and TypeMethodDescriptionvoidfillContextMenu(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.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Makes the actions contained in this action group.voidrunDefaultAction(IStructuredSelection selection) Deprecated, for removal: This API element is subject to removal in a future version.Runs the default action (open file).Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
getImageDescriptor, getNavigator, handleKeyPressedMethods inherited from class org.eclipse.ui.actions.ActionGroup
dispose, fillActionBars, getContext, setContext, updateActionBars
-
Field Details
-
OPEN_WITH_ID
Deprecated, for removal: This API element is subject to removal in a future version.The id for the Open With submenu.- See Also:
-
-
Constructor Details
-
Method Details
-
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
-
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
-
runDefaultAction
Deprecated, for removal: This API element is subject to removal in a future version.Runs the default action (open file).- Overrides:
runDefaultActionin classResourceNavigatorActionGroup- Parameters:
selection- the current selection
-