Package com._1c.g5.v8.dt.search.core
Class TextSearchScopeSettings
- java.lang.Object
-
- com._1c.g5.v8.dt.search.core.TextSearchScopeSettings
-
public class TextSearchScopeSettings extends Object
Scope settings for searchingAt least one target Project must be added.
Other scopes are considered arbitrary if their collections are empty.
-
-
Constructor Summary
Constructors Constructor Description TextSearchScopeSettings()
-
Method Summary
-
-
-
Method Detail
-
getSearchFors
public Set<SearchFor> getSearchFors()
Returns theSearchFor
setting.- Returns:
- the
SearchFor
set.
-
getSearchIns
public Set<SearchIn> getSearchIns()
Returns theSearchIn
setting.- Returns:
- the
SearchIn
set, neverIUnorderedGroupHelper.Null
-
getSearchScopes
public Set<SearchScope> getSearchScopes()
Returns theSearchScope
setting.- Returns:
- the
SearchScope
set, neverIUnorderedGroupHelper.Null
-
getProjects
public Set<org.eclipse.core.resources.IProject> getProjects()
Returns theIProject
setting.- Returns:
- the
IProject
set, neverIUnorderedGroupHelper.Null
-
addSearchFor
public TextSearchScopeSettings addSearchFor(SearchFor... searchFors)
AddSearchFor
s to setting.- Parameters:
searchFors
- array ofSearchFor
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchFor
public TextSearchScopeSettings addSearchFor(Collection<SearchFor> searchFors)
AddSearchFor
s to setting.- Parameters:
searchFors
- collection ofSearchFor
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchIn
public TextSearchScopeSettings addSearchIn(SearchIn... searchIns)
AddSearchIn
s to setting.- Parameters:
searchIns
- array ofSearchIn
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchIn
public TextSearchScopeSettings addSearchIn(Collection<SearchIn> searchIns)
AddSearchIn
s to setting.- Parameters:
searchIns
- collection ofSearchIn
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchScope
public TextSearchScopeSettings addSearchScope(SearchScope... searchScopes)
AddSearchScope
s to setting.- Parameters:
searchScopes
- array ofSearchScope
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchScope
public TextSearchScopeSettings addSearchScope(Collection<SearchScope> searchScopes)
AddSearchScope
s to setting.- Parameters:
searchScopes
- collection ofSearchScope
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addProjects
public TextSearchScopeSettings addProjects(org.eclipse.core.resources.IProject... projects)
AddIProject
s to setting.- Parameters:
projects
- array ofIProject
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addProjects
public TextSearchScopeSettings addProjects(Collection<org.eclipse.core.resources.IProject> projects)
AddIProject
s to setting.- Parameters:
projects
- collection ofIProject
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addDtProjects
public TextSearchScopeSettings addDtProjects(Collection<IDtProject> projects)
ConvertIDtProject
s to project and add to setting.- Parameters:
projects
- collection ofIDtProject
s to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
-