public class EditorSelectionLocalSearchScope extends LocalSearchScope
EMPTY
Constructor and Description |
---|
EditorSelectionLocalSearchScope(Editor editor,
Project project,
java.lang.String displayName) |
EditorSelectionLocalSearchScope(Editor editor,
Project project,
java.lang.String displayName,
boolean ignoreInjectedPsi) |
Modifier and Type | Method and Description |
---|---|
protected int |
calcHashCode()
To provide your own hash code please override this method instead of
SearchScope.hashCode() |
boolean |
contains(VirtualFile file) |
boolean |
containsRange(PsiFile file,
TextRange range) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDisplayName() |
PsiElement [] |
getScope() |
VirtualFile [] |
getVirtualFiles() |
LocalSearchScope |
intersectWith(LocalSearchScope scope2) |
SearchScope |
intersectWith(SearchScope scope2) |
boolean |
isIgnoreInjectedPsi() |
boolean |
isInScope(VirtualFile file) |
java.lang.String |
toString() |
SearchScope |
union(SearchScope scope) |
getScopeRestrictedByFileTypes, union
getIcon, hashCode
public EditorSelectionLocalSearchScope(Editor editor, Project project, java.lang.String displayName)
public boolean isIgnoreInjectedPsi()
isIgnoreInjectedPsi
in class LocalSearchScope
public java.lang.String getDisplayName()
getDisplayName
in class LocalSearchScope
public VirtualFile [] getVirtualFiles()
getVirtualFiles
in class LocalSearchScope
public boolean equals(java.lang.Object o)
equals
in class LocalSearchScope
public java.lang.String toString()
toString
in class LocalSearchScope
protected int calcHashCode()
SearchScope
SearchScope.hashCode()
calcHashCode
in class LocalSearchScope
public boolean containsRange(PsiFile file, TextRange range)
containsRange
in class LocalSearchScope
public PsiElement [] getScope()
getScope
in class LocalSearchScope
public LocalSearchScope intersectWith(LocalSearchScope scope2)
intersectWith
in class LocalSearchScope
public SearchScope intersectWith(SearchScope scope2)
intersectWith
in class LocalSearchScope
public SearchScope union(SearchScope scope)
union
in class LocalSearchScope
public boolean contains(VirtualFile file)
contains
in class LocalSearchScope
public boolean isInScope(VirtualFile file)
isInScope
in class LocalSearchScope