Interface IActionGroupFactory


  • @Deprecated(forRemoval=true)
    public interface IActionGroupFactory
    Deprecated, for removal: This API element is subject to removal in a future version.
    Part of the old ('classic') search result view. Since 3.0 clients can create their own search result view pages (see ISearchResultPage), leaving it up to the page how to create actions. This class will be removed after 2023-09 release. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=487303 for more information.
    Allows to specify an ActionGroup factory which will be used by the Search view to create an ActionGroup which is used to build the actions bars and the context menu.

    Note: Local tool bar contributions are not supported in 2.0.

    Clients can implement this interface and pass an instance to the search result view.
    Since:
    2.0
    See Also:
    ActionGroup, ISearchResultView.searchStarted(IActionGroupFactory, String, String, ImageDescriptor, String, ILabelProvider, IAction, IGroupByKeyComputer, IRunnableWithProgress)
    Restriction:
    Restriction:
    Restriction:
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • createActionGroup

        ActionGroup createActionGroup​(ISearchResultView searchView)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates an ActionGroup for a Search view.
        Parameters:
        searchView - the search result view for which the group is made
        Returns:
        an ActionGroup for a Search view
        See Also:
        ActionGroup