public static class GlobalSearchScopesCore.DirectoryScope extends GlobalSearchScope
GlobalSearchScope.FilesScope
EMPTY_ARRAY, EMPTY_SCOPE
ALL, 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, union
getIcon, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and
public DirectoryScope(Project project, VirtualFile directory, boolean withSubdirectories)
public VirtualFile getDirectory()
public boolean isWithSubdirectories()
public boolean contains(VirtualFile file)
contains
in class SearchScope
public boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent
in class GlobalSearchScope
public boolean isSearchInLibraries()
isSearchInLibraries
in class GlobalSearchScope
public java.lang.String toString()
toString
in class java.lang.Object
public int calcHashCode()
SearchScope
SearchScope.hashCode()
calcHashCode
in class SearchScope
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public GlobalSearchScope uniteWith(GlobalSearchScope scope)
uniteWith
in class GlobalSearchScope
public Project getProject()
getProject
in interface ProjectAwareFileFilter
getProject
in class GlobalSearchScope
public java.lang.String getDisplayName()
getDisplayName
in class SearchScope