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 public class OpenActionGroup extends ResourceNavigatorActionGroup
Deprecated.as of 3.5, use the Common Navigator Framework classes insteadThis is the action group for the open actions.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPEN_WITH_ID
Deprecated.The id for the Open With submenu.-
Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator
-
-
Constructor Summary
Constructors Constructor Description OpenActionGroup(IResourceNavigator navigator)
Deprecated.Creates a new action group for open actions.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
fillContextMenu(IMenuManager menu)
Deprecated.Adds the applicable actions to a context menu, based on the state of theActionContext
.protected void
makeActions()
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 Detail
-
OPEN_WITH_ID
public static final String OPEN_WITH_ID
Deprecated.The id for the Open With submenu.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenActionGroup
public OpenActionGroup(IResourceNavigator navigator)
Deprecated.Creates a new action group for open actions.- Parameters:
navigator
- the resource navigator
-
-
Method Detail
-
makeActions
protected void makeActions()
Deprecated.Description copied from class:ResourceNavigatorActionGroup
Makes the actions contained in this action group.- Specified by:
makeActions
in classResourceNavigatorActionGroup
-
fillContextMenu
public void fillContextMenu(IMenuManager menu)
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
public void runDefaultAction(IStructuredSelection selection)
Deprecated.Runs the default action (open file).- Overrides:
runDefaultAction
in classResourceNavigatorActionGroup
- Parameters:
selection
- the current selection
-
-