|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
org.eclipse.ui.views.navigator.OpenActionGroup
public class OpenActionGroup
This is the action group for the open actions.
Field Summary | |
---|---|
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 | |
---|---|
OpenActionGroup(IResourceNavigator navigator)
Deprecated. Creates a new action group for open actions. |
Method Summary | |
---|---|
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). |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OPEN_WITH_ID
Constructor Detail |
---|
public OpenActionGroup(IResourceNavigator navigator)
navigator
- the resource navigatorMethod Detail |
---|
protected 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
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.