Package com._1c.g5.v8.dt.search.core
Class TextSearchScopeSettings
java.lang.Object
com._1c.g5.v8.dt.search.core.TextSearchScopeSettings
Scope settings for searching
At least one target Project must be added.
Other scopes are considered arbitrary if their collections are empty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDtProjects(Collection<IDtProject> projects) ConvertIDtProjects to project and add to setting.addProjects(Collection<org.eclipse.core.resources.IProject> projects) AddIProjects to setting.addProjects(org.eclipse.core.resources.IProject... projects) AddIProjects to setting.addSearchFor(SearchFor... searchFors) AddSearchFors to setting.addSearchFor(Collection<SearchFor> searchFors) AddSearchFors to setting.addSearchIn(SearchIn... searchIns) AddSearchIns to setting.addSearchIn(Collection<SearchIn> searchIns) AddSearchIns to setting.addSearchScope(SearchScope... searchScopes) AddSearchScopes to setting.addSearchScope(Collection<SearchScope> searchScopes) AddSearchScopes to setting.Set<org.eclipse.core.resources.IProject>Returns theIProjectsetting.Returns theSearchForsetting.Returns theSearchInsetting.Returns theSearchScopesetting.
-
Constructor Details
-
TextSearchScopeSettings
public TextSearchScopeSettings()
-
-
Method Details
-
getSearchFors
Returns theSearchForsetting.- Returns:
- the
SearchForset.
-
getSearchIns
Returns theSearchInsetting.- Returns:
- the
SearchInset, neverIUnorderedGroupHelper.Null
-
getSearchScopes
Returns theSearchScopesetting.- Returns:
- the
SearchScopeset, neverIUnorderedGroupHelper.Null
-
getProjects
Returns theIProjectsetting.- Returns:
- the
IProjectset, neverIUnorderedGroupHelper.Null
-
addSearchFor
AddSearchFors to setting.- Parameters:
searchFors- array ofSearchFors to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchFor
AddSearchFors to setting.- Parameters:
searchFors- collection ofSearchFors to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchIn
AddSearchIns to setting.- Parameters:
searchIns- array ofSearchIns to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchIn
AddSearchIns to setting.- Parameters:
searchIns- collection ofSearchIns to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchScope
AddSearchScopes to setting.- Parameters:
searchScopes- array ofSearchScopes to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addSearchScope
AddSearchScopes to setting.- Parameters:
searchScopes- collection ofSearchScopes to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addProjects
AddIProjects to setting.- Parameters:
projects- array ofIProjects to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addProjects
public TextSearchScopeSettings addProjects(Collection<org.eclipse.core.resources.IProject> projects) AddIProjects to setting.- Parameters:
projects- collection ofIProjects to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-
addDtProjects
ConvertIDtProjects to project and add to setting.- Parameters:
projects- collection ofIDtProjects to add to setting- Returns:
- this instance of settings, never
IUnorderedGroupHelper.Null
-