public final class FindUsagesManager
extends java.lang.Object
Constructor and Description |
---|
FindUsagesManager(Project project) |
FindUsagesManager(Project project,
UsageViewManager anotherManager)
Deprecated.
|
public FindUsagesManager(Project project)
@Deprecated public FindUsagesManager(Project project, UsageViewManager anotherManager)
FindUsagesManager(Project)
public boolean canFindUsages(PsiElement element)
public void clearFindingNextUsageInFile()
public boolean findNextUsageInFile(Editor editor)
public boolean findPreviousUsageInFile(Editor editor)
public FindUsagesHandler getFindUsagesHandler(PsiElement element, boolean forHighlightUsages)
public FindUsagesHandler getFindUsagesHandler(PsiElement element, FindUsagesHandlerFactory.OperationMode operationMode)
public FindUsagesHandler getNewFindUsagesHandler(PsiElement element, boolean forHighlightUsages)
public void findUsages(PsiElement psiElement, PsiFile scopeFile, FileEditor editor, boolean showDialog, SearchScope searchScope)
public static void showSettingsAndFindUsages(NavigationItem [] targets)
public static ProgressIndicator startProcessUsages(FindUsagesHandlerBase handler, PsiElement [] primaryElements, PsiElement [] secondaryElements, Processor<? super Usage> processor, FindUsagesOptions findUsagesOptions, java.lang.Runnable onComplete)
public static UsageSearcher createUsageSearcher(FindUsagesHandlerBase handler, PsiElement [] primaryElements, PsiElement [] secondaryElements, FindUsagesOptions findUsagesOptions)
public static void startProcessUsages(ProgressIndicator indicator, Project project, UsageSearcher usageSearcher, Processor<? super Usage> processor, java.lang.Runnable onComplete)
public UsageViewPresentation createPresentation(FindUsagesHandlerBase handler, FindUsagesOptions findUsagesOptions)
public static UsageSearcher createUsageSearcher(PsiElement2UsageTargetAdapter [] primaryTargets, PsiElement2UsageTargetAdapter [] secondaryTargets, FindUsagesHandlerBase handler, FindUsagesOptions options, PsiFile scopeFile) throws PsiInvalidElementAccessException
PsiInvalidElementAccessException
- when the searcher can't be created (i.e. because element was invalidated)public void findUsages(PsiElement [] primaryElements, PsiElement [] secondaryElements, FindUsagesHandlerBase handler, FindUsagesOptions findUsagesOptions, boolean toSkipUsagePanelWhenOneUsage)
public UsageView doFindUsages(PsiElement [] primaryElements, PsiElement [] secondaryElements, FindUsagesHandlerBase handler, FindUsagesOptions findUsagesOptions, boolean toSkipUsagePanelWhenOneUsage)
public static java.lang.String getHelpID(PsiElement element)
public void rerunAndRecallFromHistory(ConfigurableUsageTarget usageTarget)
public void addToHistory(ConfigurableUsageTarget usageTarget)
public UsageHistory getHistory()
public static GlobalSearchScope getMaximalScope(FindUsagesHandlerBase handler)