Class WorkspaceActionGroup


  • @Deprecated
    public class WorkspaceActionGroup
    extends ResourceNavigatorActionGroup
    Deprecated.
    as of 3.5, use the Common Navigator Framework classes instead
    This is the action group for workspace actions such as Build, Refresh Local, and Open/Close Project.
    • Constructor Detail

      • WorkspaceActionGroup

        public WorkspaceActionGroup​(IResourceNavigator navigator)
        Deprecated.
    • Method Detail

      • fillActionBars

        public void fillActionBars​(IActionBars actionBars)
        Deprecated.
        Description copied from class: ActionGroup
        Adds the applicable actions to a part's action bars, including setting any global action handlers.

        The default implementation does nothing. Subclasses may override or extend this method.

        Overrides:
        fillActionBars in class ActionGroup
        Parameters:
        actionBars - the part's action bars
      • fillContextMenu

        public void fillContextMenu​(IMenuManager menu)
        Deprecated.
        Adds the build, open project, close project and refresh resource actions to the context menu.

        The following conditions apply: build-only projects selected, auto build disabled, at least one builder present open project-only projects selected, at least one closed project close project-only projects selected, at least one open project refresh-no closed project selected

        Both the open project and close project action may be on the menu at the same time.

        No disabled action should be on the context menu.

        Overrides:
        fillContextMenu in class ActionGroup
        Parameters:
        menu - context menu to add actions to
      • updateActionBars

        public void updateActionBars()
        Deprecated.
        Description copied from class: ActionGroup
        Updates the state of the actions added to the action bars, including any global action handlers, based on the state of the ActionContext.

        The default implementation does nothing. Subclasses may override or extend this method.

        Overrides:
        updateActionBars in class ActionGroup