protected TypeInfoFilter createTypeInfoFilter(String text) { if ("**".equals(text)) //$NON-NLS-1$ text= "*"; //$NON-NLS-1$ return new TypeInfoFilter(text, fSearchScope, fElementKind, fFilterExtension); }
protected TypeInfoFilter createTypeInfoFilter(String text) { if ("**".equals(text)) //$NON-NLS-1$ text= "*"; //$NON-NLS-1$ return new TypeInfoFilter(text, fSearchScope, fElementKind, fFilterExtension); }
protected TypeInfoFilter createTypeInfoFilter(String text) { if ("**".equals(text)) //$NON-NLS-1$ text= "*"; //$NON-NLS-1$ return new TypeInfoFilter(text, fSearchScope, fElementKind, fFilterExtension); }
protected TypeInfoFilter createTypeInfoFilter(String text) { if ("**".equals(text)) //$NON-NLS-1$ text= "*"; //$NON-NLS-1$ return new TypeInfoFilter(text, fSearchScope, fElementKind, fFilterExtension); }
public TypeItemsFilter(IJavaSearchScope scope, int elementKind, ITypeInfoFilterExtension extension) { /* * Horribly convoluted initialization: * FilteredItemsSelectionDialog.ItemsFilter#ItemsFilter(SearchPattern) * fetches the pattern string from the Text widget of the outer class and * initializes the given SearchPattern with that string. * The default SearchPattern also removes whitespace from the pattern string, * which is why we have to supply our own (dummy) implementation. */ super(new TypeSearchPattern()); String pattern= patternMatcher.getPattern(); fTypeInfoFilter= new TypeInfoFilter(pattern, scope, elementKind, extension); }
public TypeItemsFilter(IJavaSearchScope scope, int elementKind, ITypeInfoFilterExtension extension) { /* * Horribly convoluted initialization: * FilteredItemsSelectionDialog.ItemsFilter#ItemsFilter(SearchPattern) * fetches the pattern string from the Text widget of the outer class and * initializes the given SearchPattern with that string. * The default SearchPattern also removes whitespace from the pattern string, * which is why we have to supply our own (dummy) implementation. */ super(new TypeSearchPattern()); String pattern= patternMatcher.getPattern(); fTypeInfoFilter= new TypeInfoFilter(pattern, scope, elementKind, extension); }
TypeInfoFilter filter= (fTypeInfoFilter != null) ? fTypeInfoFilter : new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter);
TypeInfoFilter filter= (fTypeInfoFilter != null) ? fTypeInfoFilter : new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter);
TypeInfoFilter filter= (fTypeInfoFilter != null) ? fTypeInfoFilter : new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter);
TypeInfoFilter filter= (fTypeInfoFilter != null) ? fTypeInfoFilter : new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter);