Class TextSearchScopeSettings


  • public class TextSearchScopeSettings
    extends Object
    Scope settings for searching

    At least one target Project must be added.

    Other scopes are considered arbitrary if their collections are empty.

    • Constructor Detail

      • TextSearchScopeSettings

        public TextSearchScopeSettings()
    • Method Detail

      • getSearchIns

        public Set<SearchIn> getSearchIns()
        Returns the SearchIn setting.
        Returns:
        the SearchIn set, never IUnorderedGroupHelper.Null
      • getProjects

        public Set<org.eclipse.core.resources.IProject> getProjects()
        Returns the IProject setting.
        Returns:
        the IProject set, never IUnorderedGroupHelper.Null
      • addSearchIn

        public TextSearchScopeSettings addSearchIn​(SearchIn... searchIns)
        Add SearchIns to setting.
        Parameters:
        searchIns - array of SearchIns to add to setting
        Returns:
        this instance of settings, never IUnorderedGroupHelper.Null
      • addProjects

        public TextSearchScopeSettings addProjects​(org.eclipse.core.resources.IProject... projects)
        Add IProjects to setting.
        Parameters:
        projects - array of IProjects to add to setting
        Returns:
        this instance of settings, never IUnorderedGroupHelper.Null
      • addProjects

        public TextSearchScopeSettings addProjects​(Collection<org.eclipse.core.resources.IProject> projects)
        Add IProjects to setting.
        Parameters:
        projects - collection of IProjects to add to setting
        Returns:
        this instance of settings, never IUnorderedGroupHelper.Null