Class MainActionGroup


  • @Deprecated
    public class MainActionGroup
    extends ResourceNavigatorActionGroup
    Deprecated.
    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.
    • Constructor Detail

      • MainActionGroup

        public MainActionGroup​(IResourceNavigator navigator)
        Deprecated.
        Constructs the main action group.
        Parameters:
        navigator - the navigator view
    • Method Detail

      • handleResourceChanged

        protected void handleResourceChanged​(IResourceChangeEvent event)
        Deprecated.
        Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.
      • makeSubGroups

        protected void makeSubGroups()
        Deprecated.
        Makes the sub action groups.
      • setContext

        public void setContext​(ActionContext context)
        Deprecated.
        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.
        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.
        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.
        Updates the actions which were added to the action bars, delegating to the subgroups as necessary.
        Overrides:
        updateActionBars in class ActionGroup
      • dispose

        public void dispose()
        Deprecated.
        Extends the superclass implementation to dispose the actions in this group and its subgroups.
        Overrides:
        dispose in class ActionGroup