public class JavaFindUsagesHandler extends FindUsagesHandler
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ACTION_STRING
Deprecated.
Use
getActionString() instead |
NULL_HANDLER
myPsiElement
Constructor and Description |
---|
JavaFindUsagesHandler(PsiElement psiElement,
JavaFindUsagesHandlerFactory factory) |
JavaFindUsagesHandler(PsiElement psiElement,
PsiElement [] elementsToSearch,
JavaFindUsagesHandlerFactory factory) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PsiReference> |
findReferencesToHighlight(PsiElement target,
SearchScope searchScope) |
protected static java.lang.String |
getActionString() |
AbstractFindUsagesDialog |
getFindUsagesDialog(boolean isSingleFile,
boolean toShowInNewTab,
boolean mustOpenInNewTab) |
FindUsagesOptions |
getFindUsagesOptions(DataContext dataContext) |
PsiElement [] |
getPrimaryElements() |
PsiElement [] |
getSecondaryElements() |
protected java.util.Set<java.lang.String> |
getStringsToSearch(PsiElement element) |
protected boolean |
isSearchForTextOccurrencesAvailable(PsiElement psiElement,
boolean isSingleFile) |
boolean |
processElementUsages(PsiElement element,
Processor<? super UsageInfo> processor,
FindUsagesOptions options) |
createDefaultFindUsagesDialog, getHelpId
createFindUsagesOptions, createSearchParameters, getFindUsagesOptions, getProject, getPsiElement, isSearchForTextOccurencesAvailable, processUsagesInText
@Deprecated protected static final java.lang.String ACTION_STRING
getActionString()
insteadpublic JavaFindUsagesHandler(PsiElement psiElement, JavaFindUsagesHandlerFactory factory)
public JavaFindUsagesHandler(PsiElement psiElement, PsiElement [] elementsToSearch, JavaFindUsagesHandlerFactory factory)
public AbstractFindUsagesDialog getFindUsagesDialog(boolean isSingleFile, boolean toShowInNewTab, boolean mustOpenInNewTab)
getFindUsagesDialog
in interface FindUsagesHandlerUi
getFindUsagesDialog
in class FindUsagesHandler
public PsiElement [] getPrimaryElements()
getPrimaryElements
in class FindUsagesHandlerBase
public PsiElement [] getSecondaryElements()
getSecondaryElements
in class FindUsagesHandlerBase
public FindUsagesOptions getFindUsagesOptions(DataContext dataContext)
getFindUsagesOptions
in class FindUsagesHandlerBase
protected java.util.Set<java.lang.String> getStringsToSearch(PsiElement element)
getStringsToSearch
in class FindUsagesHandlerBase
public boolean processElementUsages(PsiElement element, Processor<? super UsageInfo> processor, FindUsagesOptions options)
processElementUsages
in class FindUsagesHandlerBase
protected boolean isSearchForTextOccurrencesAvailable(PsiElement psiElement, boolean isSingleFile)
isSearchForTextOccurrencesAvailable
in class FindUsagesHandlerBase
public java.util.Collection<PsiReference> findReferencesToHighlight(PsiElement target, SearchScope searchScope)
findReferencesToHighlight
in class FindUsagesHandlerBase
protected static java.lang.String getActionString()