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.
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 String
Deprecated.The id for the Open With submenu.Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator
-
Constructor Summary
ConstructorsConstructorDescriptionOpenActionGroup
(IResourceNavigator navigator) Deprecated.Creates a new action group for open actions. -
Method Summary
Modifier and TypeMethodDescriptionvoid
fillContextMenu
(IMenuManager menu) Deprecated.Adds the applicable actions to a context menu, based on the state of theActionContext
.protected void
Deprecated.Makes the actions contained in this action group.void
runDefaultAction
(IStructuredSelection selection) Deprecated.Runs the default action (open file).Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
getImageDescriptor, getNavigator, handleKeyPressed
Methods inherited from class org.eclipse.ui.actions.ActionGroup
dispose, fillActionBars, getContext, setContext, updateActionBars
-
Field Details
-
OPEN_WITH_ID
Deprecated.The id for the Open With submenu.- See Also:
-
-
Constructor Details
-
Method Details
-
makeActions
protected void makeActions()Deprecated.Description copied from class:ResourceNavigatorActionGroup
Makes the actions contained in this action group.- Specified by:
makeActions
in classResourceNavigatorActionGroup
-
fillContextMenu
Deprecated.Description copied from class:ActionGroup
Adds 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:
fillContextMenu
in classActionGroup
- Parameters:
menu
- the context menu manager
-
runDefaultAction
Deprecated.Runs the default action (open file).- Overrides:
runDefaultAction
in classResourceNavigatorActionGroup
- Parameters:
selection
- the current selection
-