public static class IXtextEObjectSearch.Default extends java.lang.Object implements IXtextEObjectSearch
IXtextEObjectSearch.Default
Constructor and Description |
---|
IXtextEObjectSearch.Default() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IEObjectDescription> |
findMatches(java.lang.String searchPattern,
java.lang.String typeSearchPattern) |
IResourceDescriptions |
getResourceDescriptions() |
protected com.google.common.base.Predicate<IEObjectDescription> |
getSearchPredicate(java.lang.String stringPattern,
java.lang.String typeStringPattern) |
protected java.lang.Iterable<IEObjectDescription> |
getSearchScope() |
protected boolean |
isNameMatches(org.eclipse.ui.dialogs.SearchPattern searchPattern,
IEObjectDescription eObjectDescription,
java.util.Collection<java.lang.String> namespaceDelimiters) |
void |
setResourceDescriptions(IResourceDescriptions resourceDescriptions) |
public java.lang.Iterable<IEObjectDescription> findMatches(java.lang.String searchPattern, java.lang.String typeSearchPattern)
findMatches
in interface IXtextEObjectSearch
protected com.google.common.base.Predicate<IEObjectDescription> getSearchPredicate(java.lang.String stringPattern, java.lang.String typeStringPattern)
protected boolean isNameMatches(org.eclipse.ui.dialogs.SearchPattern searchPattern, IEObjectDescription eObjectDescription, java.util.Collection<java.lang.String> namespaceDelimiters)
protected java.lang.Iterable<IEObjectDescription> getSearchScope()
public void setResourceDescriptions(IResourceDescriptions resourceDescriptions)
public IResourceDescriptions getResourceDescriptions()