@Deprecated public class OpenActionGroup extends ResourceNavigatorActionGroup
Modifier and Type | Field and Description |
---|---|
static String |
OPEN_WITH_ID
Deprecated.
The id for the Open With submenu.
|
navigator
Constructor and Description |
---|
OpenActionGroup(IResourceNavigator navigator)
Deprecated.
Creates a new action group for open actions.
|
Modifier and Type | Method and Description |
---|---|
void |
fillContextMenu(IMenuManager menu)
Deprecated.
Adds the applicable actions to a context menu,
based on the state of the
ActionContext . |
protected void |
makeActions()
Deprecated.
Makes the actions contained in this action group.
|
void |
runDefaultAction(IStructuredSelection selection)
Deprecated.
Runs the default action (open file).
|
getImageDescriptor, getNavigator, handleKeyPressed
dispose, fillActionBars, getContext, setContext, updateActionBars
public static final String OPEN_WITH_ID
public OpenActionGroup(IResourceNavigator navigator)
navigator
- the resource navigatorprotected void makeActions()
ResourceNavigatorActionGroup
makeActions
in class ResourceNavigatorActionGroup
public void fillContextMenu(IMenuManager menu)
ActionGroup
ActionContext
.
The default implementation does nothing. Subclasses may override or extend this method.
fillContextMenu
in class ActionGroup
menu
- the context menu managerpublic void runDefaultAction(IStructuredSelection selection)
runDefaultAction
in class ResourceNavigatorActionGroup
selection
- the current selection
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.