org.eclipse.xtext.ui.search
Class IXtextEObjectSearch.Default

java.lang.Object
  extended by org.eclipse.xtext.ui.search.IXtextEObjectSearch.Default
All Implemented Interfaces:
IXtextEObjectSearch
Enclosing interface:
IXtextEObjectSearch

public static class IXtextEObjectSearch.Default
extends java.lang.Object
implements IXtextEObjectSearch


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.search.IXtextEObjectSearch
IXtextEObjectSearch.Default
 
Constructor Summary
IXtextEObjectSearch.Default()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IXtextEObjectSearch.Default

public IXtextEObjectSearch.Default()
Method Detail

findMatches

public java.lang.Iterable<IEObjectDescription> findMatches(java.lang.String searchPattern,
                                                           java.lang.String typeSearchPattern)
Specified by:
findMatches in interface IXtextEObjectSearch

getSearchPredicate

protected com.google.common.base.Predicate<IEObjectDescription> getSearchPredicate(java.lang.String stringPattern,
                                                                                   java.lang.String typeStringPattern)

isNameMatches

protected boolean isNameMatches(org.eclipse.ui.dialogs.SearchPattern searchPattern,
                                IEObjectDescription eObjectDescription,
                                java.util.Collection<java.lang.String> namespaceDelimiters)

getSearchScope

protected java.lang.Iterable<IEObjectDescription> getSearchScope()

setResourceDescriptions

public void setResourceDescriptions(IResourceDescriptions resourceDescriptions)

getResourceDescriptions

public IResourceDescriptions getResourceDescriptions()