|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.actions.ActionGroup | +--org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
This is the action group for all the resource navigator actions. It delegates to several subgroups for most of the actions.
GotoActionGroup
,
OpenActionGroup
,
RefactorActionGroup
,
SortAndFilterActionGroup
,
WorkspaceActionGroup
Field Summary | |
protected IResourceNavigator |
navigator
The resource navigator. |
Constructor Summary | |
ResourceNavigatorActionGroup(IResourceNavigator navigator)
Constructs a new navigator action group and creates its actions. |
Method Summary | |
IResourceNavigator |
getNavigator()
Returns the resource navigator. |
void |
handleKeyPressed(KeyEvent event)
Handles a key pressed event by invoking the appropriate action. |
protected abstract void |
makeActions()
Makes the actions contained in this action group. |
void |
runDefaultAction(IStructuredSelection selection)
Runs the default action in the group. |
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
dispose, fillActionBars, fillContextMenu, getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected IResourceNavigator navigator
Constructor Detail |
public ResourceNavigatorActionGroup(IResourceNavigator navigator)
navigator
- the resource navigatorMethod Detail |
public IResourceNavigator getNavigator()
protected abstract void makeActions()
public void runDefaultAction(IStructuredSelection selection)
selection
- the current selectionpublic void handleKeyPressed(KeyEvent event)
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |