public class FindInProjectUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FindInProjectUtil.StringUsageTarget |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildStringToFindForIndicesFromRegExp(java.lang.String stringToFind,
Project project) |
static Condition<java.lang.CharSequence> |
createFileMaskCondition(java.lang.String filter) |
static void |
findUsages(FindModel findModel,
Project project,
FindUsagesProcessPresentation processPresentation,
java.util.Set<? extends VirtualFile> filesToStart,
Processor<? super UsageInfo> consumer) |
static void |
findUsages(FindModel findModel,
Project project,
Processor<? super UsageInfo> consumer,
FindUsagesProcessPresentation processPresentation) |
static void |
findUsages(FindModel findModel,
PsiDirectory psiDirectory,
Project project,
Processor<? super UsageInfo> consumer,
FindUsagesProcessPresentation processPresentation)
Deprecated.
Use
findUsages(FindModel, Project, Processor, FindUsagesProcessPresentation) instead. To remove in IDEA 16 |
static VirtualFile |
getDirectory(FindModel findModel) |
static java.lang.String |
getPresentableName(FindModel.SearchContext searchContext) |
static PsiDirectory |
getPsiDirectory(FindModel findModel,
Project project)
Deprecated.
|
static void |
initFileFilter(javax.swing.JComboBox<? super java.lang.String> fileFilter,
javax.swing.JCheckBox useFileFilter) |
static void |
initStringToFindFromDataContext(FindModel findModel,
DataContext dataContext) |
static void |
setDirectoryName(FindModel model,
DataContext dataContext) |
static FindUsagesProcessPresentation |
setupProcessPresentation(Project project,
boolean showPanelIfOnlyOneUsage,
UsageViewPresentation presentation) |
static FindUsagesProcessPresentation |
setupProcessPresentation(Project project,
UsageViewPresentation presentation) |
static UsageViewPresentation |
setupViewPresentation(boolean toOpenInNewTab,
FindModel findModel) |
static UsageViewPresentation |
setupViewPresentation(FindModel findModel) |
static void |
setupViewPresentation(UsageViewPresentation presentation,
boolean toOpenInNewTab,
FindModel findModel) |
static void |
setupViewPresentation(UsageViewPresentation presentation,
FindModel findModel) |
public static void setDirectoryName(FindModel model, DataContext dataContext)
@Deprecated public static PsiDirectory getPsiDirectory(FindModel findModel, Project project)
getDirectory(FindModel)
public static VirtualFile getDirectory(FindModel findModel)
public static Condition<java.lang.CharSequence> createFileMaskCondition(java.lang.String filter) throws java.util.regex.PatternSyntaxException
java.util.regex.PatternSyntaxException
@Deprecated public static void findUsages(FindModel findModel, PsiDirectory psiDirectory, Project project, Processor<? super UsageInfo> consumer, FindUsagesProcessPresentation processPresentation)
findUsages(FindModel, Project, Processor, FindUsagesProcessPresentation)
instead. To remove in IDEA 16public static void findUsages(FindModel findModel, Project project, Processor<? super UsageInfo> consumer, FindUsagesProcessPresentation processPresentation)
public static void findUsages(FindModel findModel, Project project, FindUsagesProcessPresentation processPresentation, java.util.Set<? extends VirtualFile> filesToStart, Processor<? super UsageInfo> consumer)
public static UsageViewPresentation setupViewPresentation(FindModel findModel)
public static UsageViewPresentation setupViewPresentation(boolean toOpenInNewTab, FindModel findModel)
public static void setupViewPresentation(UsageViewPresentation presentation, FindModel findModel)
public static void setupViewPresentation(UsageViewPresentation presentation, boolean toOpenInNewTab, FindModel findModel)
public static FindUsagesProcessPresentation setupProcessPresentation(Project project, UsageViewPresentation presentation)
public static FindUsagesProcessPresentation setupProcessPresentation(Project project, boolean showPanelIfOnlyOneUsage, UsageViewPresentation presentation)
public static java.lang.String buildStringToFindForIndicesFromRegExp(java.lang.String stringToFind, Project project)
public static void initStringToFindFromDataContext(FindModel findModel, DataContext dataContext)
public static void initFileFilter(javax.swing.JComboBox<? super java.lang.String> fileFilter, javax.swing.JCheckBox useFileFilter)
public static java.lang.String getPresentableName(FindModel.SearchContext searchContext)