public abstract class PredefinedSearchScopeProvider
extends java.lang.Object
| Constructor and Description |
|---|
PredefinedSearchScopeProvider() |
| Modifier and Type | Method and Description |
|---|---|
static PredefinedSearchScopeProvider |
getInstance() |
abstract java.util.List<SearchScope> |
getPredefinedScopes(Project project,
DataContext dataContext,
boolean suggestSearchInLibs,
boolean prevSearchFiles,
boolean currentSelection,
boolean usageView,
boolean showEmptyScopes) |
public static PredefinedSearchScopeProvider getInstance()
public abstract java.util.List<SearchScope> getPredefinedScopes(Project project, DataContext dataContext, boolean suggestSearchInLibs, boolean prevSearchFiles, boolean currentSelection, boolean usageView, boolean showEmptyScopes)
suggestSearchInLibs - add Project and Libraries scopeprevSearchFiles - add Files in Previous Search Result instead of Previous Search Result (only if usageView == true)currentSelection - add Selection scope if text is selected in the editorusageView - add Previous Search Result and Hierarchy 'X' (visible nodes only) scopes if there are search results or hierarchies openshowEmptyScopes - add Current File and Open Files scopes even if there are no files open