Class ProjectActionGroup


  • public class ProjectActionGroup
    extends ActionGroup
    Adds actions to open and close a project to the global menu bar.

    This class may be instantiated; it is not intended to be subclassed.

    Since:
    2.0
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • ProjectActionGroup

        public ProjectActionGroup​(IViewPart part)
        Creates a new ProjectActionGroup. The group requires that the selection provided by the site's selection provider is of type org.eclipse.jface.viewers.IStructuredSelection.
        Parameters:
        part - the view part that owns this action group
      • ProjectActionGroup

        public ProjectActionGroup​(IWorkbenchSite site,
                                  ISelectionProvider selectionProvider)
        Creates a new ProjectActionGroup. The group requires that the selection provided by the given selection provider is of type IStructuredSelection.
        Parameters:
        site - the site that will own the action group.
        selectionProvider - the selection provider used instead of the page selection provider.
        Since:
        3.4