public abstract class ResourceNavigatorActionGroup extends ActionGroup
GotoActionGroup
,
OpenActionGroup
,
RefactorActionGroup
,
SortAndFilterActionGroup
,
WorkspaceActionGroup
Modifier and Type | Field and Description |
---|---|
protected IResourceNavigator |
navigator
The resource navigator.
|
Constructor and Description |
---|
ResourceNavigatorActionGroup(IResourceNavigator navigator)
Constructs a new navigator action group and creates its actions.
|
Modifier and Type | Method and Description |
---|---|
protected ImageDescriptor |
getImageDescriptor(String relativePath)
Returns the image descriptor with the given relative path.
|
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.
|
dispose, fillActionBars, fillContextMenu, getContext, setContext, updateActionBars
protected IResourceNavigator navigator
public ResourceNavigatorActionGroup(IResourceNavigator navigator)
navigator
- the resource navigatorprotected ImageDescriptor getImageDescriptor(String relativePath)
public IResourceNavigator getNavigator()
public void handleKeyPressed(KeyEvent event)
protected abstract void makeActions()
public void runDefaultAction(IStructuredSelection selection)
selection
- the current selectionGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.