Class MainActionGroup


@Deprecated(forRemoval=true) public class MainActionGroup extends ResourceNavigatorActionGroup
Deprecated, for removal: This API element is subject to removal in a future version.
as of 3.5, use the Common Navigator Framework classes instead
The main action group for the navigator. This contains a few actions and several subgroups.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected AddTaskAction
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected GotoActionGroup
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected OpenActionGroup
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup

    navigator
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs the main action group.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Extends the superclass implementation to dispose the actions in this group and its subgroups.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adds the actions in this group and its subgroups to the action bars.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Fills the context menu with the actions contained in this group and its subgroups.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Makes the actions contained directly in this action group.
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Makes the sub action groups.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Runs the default action (open file) by delegating the open group.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Extends the superclass implementation to set the context in the subgroups.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Updates the actions which were added to the action bars, delegating to the subgroups as necessary.

    Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup

    getImageDescriptor, getNavigator

    Methods inherited from class org.eclipse.ui.actions.ActionGroup

    getContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • addBookmarkAction

      protected AddBookmarkAction addBookmarkAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addTaskAction

      protected AddTaskAction addTaskAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • propertyDialogAction

      protected PropertyDialogAction propertyDialogAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • importAction

      protected ImportResourcesAction importAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • exportAction

      protected ExportResourcesAction exportAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • collapseAllAction

      protected CollapseAllAction collapseAllAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toggleLinkingAction

      protected ToggleLinkingAction toggleLinkingAction
      Deprecated, for removal: This API element is subject to removal in a future version.
    • gotoGroup

      protected GotoActionGroup gotoGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
    • openGroup

      protected OpenActionGroup openGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
    • refactorGroup

      protected RefactorActionGroup refactorGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
    • workingSetGroup

      protected WorkingSetFilterActionGroup workingSetGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
    • sortAndFilterGroup

      protected SortAndFilterActionGroup sortAndFilterGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
    • undoRedoGroup

      protected UndoRedoActionGroup undoRedoGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
    • workspaceGroup

      protected WorkspaceActionGroup workspaceGroup
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • MainActionGroup

      public MainActionGroup(IResourceNavigator navigator)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs the main action group.
      Parameters:
      navigator - the navigator view
  • Method Details

    • handleResourceChanged

      protected void handleResourceChanged(IResourceChangeEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.
    • makeActions

      protected void makeActions()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Makes the actions contained directly in this action group.
      Specified by:
      makeActions in class ResourceNavigatorActionGroup
    • makeSubGroups

      protected void makeSubGroups()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Makes the sub action groups.
    • setContext

      public void setContext(ActionContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Extends the superclass implementation to set the context in the subgroups.
      Overrides:
      setContext in class ActionGroup
      Parameters:
      context - the context to use
    • fillContextMenu

      public void fillContextMenu(IMenuManager menu)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Fills the context menu with the actions contained in this group and its subgroups.
      Overrides:
      fillContextMenu in class ActionGroup
      Parameters:
      menu - the context menu
    • fillActionBars

      public void fillActionBars(IActionBars actionBars)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Adds the actions in this group and its subgroups to the action bars.
      Overrides:
      fillActionBars in class ActionGroup
      Parameters:
      actionBars - the part's action bars
    • updateActionBars

      public void updateActionBars()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Updates the actions which were added to the action bars, delegating to the subgroups as necessary.
      Overrides:
      updateActionBars in class ActionGroup
    • runDefaultAction

      public void runDefaultAction(IStructuredSelection selection)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Runs the default action (open file) by delegating the open group.
      Overrides:
      runDefaultAction in class ResourceNavigatorActionGroup
      Parameters:
      selection - the current selection
    • handleKeyPressed

      public void handleKeyPressed(KeyEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.
      Overrides:
      handleKeyPressed in class ResourceNavigatorActionGroup
    • dispose

      public void dispose()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Extends the superclass implementation to dispose the actions in this group and its subgroups.
      Overrides:
      dispose in class ActionGroup