public static class GlobalSearchScopesCore.DirectoryScope extends GlobalSearchScope
GlobalSearchScope.FilesScopeEMPTY_ARRAY, EMPTY_SCOPEALL, NONE| Constructor and Description |
|---|
DirectoryScope(Project project,
VirtualFile directory,
boolean withSubdirectories) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcHashCode()
To provide your own hash code please override this method instead of
SearchScope.hashCode() |
boolean |
contains(VirtualFile file) |
boolean |
equals(java.lang.Object obj) |
VirtualFile |
getDirectory() |
java.lang.String |
getDisplayName() |
Project |
getProject() |
boolean |
isSearchInLibraries() |
boolean |
isSearchInModuleContent(Module aModule) |
boolean |
isWithSubdirectories() |
java.lang.String |
toString() |
GlobalSearchScope |
uniteWith(GlobalSearchScope scope) |
accept, allScope, compare, everythingScope, fileScope, fileScope, fileScope, filesScope, filesScope, filesWithLibrariesScope, filesWithoutLibrariesScope, getScopeRestrictedByFileTypes, getUnloadedModulesBelongingToScope, intersectWith, intersectWith, intersectWith, isForceSearchingInLibrarySources, isSearchInModuleContent, moduleRuntimeScope, moduleScope, moduleTestsWithDependentsScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesScope, moduleWithDependentsScope, moduleWithLibrariesScope, notScope, projectScope, union, union, union, uniongetIcon, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitandpublic DirectoryScope(Project project, VirtualFile directory, boolean withSubdirectories)
public VirtualFile getDirectory()
public boolean isWithSubdirectories()
public boolean contains(VirtualFile file)
contains in class SearchScopepublic boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent in class GlobalSearchScopepublic boolean isSearchInLibraries()
isSearchInLibraries in class GlobalSearchScopepublic java.lang.String toString()
toString in class java.lang.Objectpublic int calcHashCode()
SearchScopeSearchScope.hashCode()calcHashCode in class SearchScopepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic GlobalSearchScope uniteWith(GlobalSearchScope scope)
uniteWith in class GlobalSearchScopepublic Project getProject()
getProject in interface ProjectAwareFileFiltergetProject in class GlobalSearchScopepublic java.lang.String getDisplayName()
getDisplayName in class SearchScope