Package org.eclipse.ui.views.navigator
Class ResourceNavigatorActionGroup
- java.lang.Object
-
- org.eclipse.ui.actions.ActionGroup
-
- org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
-
- Direct Known Subclasses:
GotoActionGroup
,MainActionGroup
,OpenActionGroup
,RefactorActionGroup
,SortAndFilterActionGroup
,WorkspaceActionGroup
@Deprecated public abstract class ResourceNavigatorActionGroup extends ActionGroup
Deprecated.as of 3.5, use the Common Navigator Framework classes insteadThis is the action group for all the resource navigator actions. It delegates to several subgroups for most of the actions.- Since:
- 2.0
- See Also:
GotoActionGroup
,OpenActionGroup
,RefactorActionGroup
,SortAndFilterActionGroup
,WorkspaceActionGroup
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be referenced by clients. Planned to be deleted, please see Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=549953
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Field Summary
Fields Modifier and Type Field Description protected IResourceNavigator
navigator
Deprecated.The resource navigator.
-
Constructor Summary
Constructors Constructor Description ResourceNavigatorActionGroup(IResourceNavigator navigator)
Deprecated.Constructs a new navigator action group and creates its actions.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ImageDescriptor
getImageDescriptor(String relativePath)
Deprecated.Returns the image descriptor with the given relative path.IResourceNavigator
getNavigator()
Deprecated.Returns the resource navigator.void
handleKeyPressed(KeyEvent event)
Deprecated.Handles a key pressed event by invoking the appropriate action.protected abstract void
makeActions()
Deprecated.Makes the actions contained in this action group.void
runDefaultAction(IStructuredSelection selection)
Deprecated.Runs the default action in the group.-
Methods inherited from class org.eclipse.ui.actions.ActionGroup
dispose, fillActionBars, fillContextMenu, getContext, setContext, updateActionBars
-
-
-
-
Field Detail
-
navigator
protected IResourceNavigator navigator
Deprecated.The resource navigator.
-
-
Constructor Detail
-
ResourceNavigatorActionGroup
public ResourceNavigatorActionGroup(IResourceNavigator navigator)
Deprecated.Constructs a new navigator action group and creates its actions.- Parameters:
navigator
- the resource navigator
-
-
Method Detail
-
getImageDescriptor
protected ImageDescriptor getImageDescriptor(String relativePath)
Deprecated.Returns the image descriptor with the given relative path.
-
getNavigator
public IResourceNavigator getNavigator()
Deprecated.Returns the resource navigator.
-
handleKeyPressed
public void handleKeyPressed(KeyEvent event)
Deprecated.Handles a key pressed event by invoking the appropriate action. Does nothing by default.
-
makeActions
protected abstract void makeActions()
Deprecated.Makes the actions contained in this action group.
-
runDefaultAction
public void runDefaultAction(IStructuredSelection selection)
Deprecated.Runs the default action in the group. Does nothing by default.- Parameters:
selection
- the current selection
-
-