org.eclipse.xtext.common.types.ui.query
Class JavaSearchHelper

java.lang.Object
  extended by org.eclipse.xtext.common.types.ui.query.JavaSearchHelper

public class JavaSearchHelper
extends java.lang.Object

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
JavaSearchHelper()
           
 
Method Summary
protected  void accept(IReferenceDescription referenceDescription)
           
protected  void acceptMatch(java.lang.Object element, ITextRegion region)
           
protected  org.eclipse.emf.ecore.resource.ResourceSet createResourceSet(org.eclipse.core.resources.IProject project)
           
protected  ITextRegion getLocation(org.eclipse.emf.ecore.EObject sourceEObject, org.eclipse.emf.ecore.EReference eReference, int indexInList)
           
protected  org.eclipse.emf.ecore.resource.ResourceSet getResourceSet(org.eclipse.core.resources.IProject project)
           
 void init(org.eclipse.jdt.ui.search.ISearchRequestor requestor, IResourceDescriptions resourceDescriptions)
           
 void search(org.eclipse.emf.common.util.URI uri, org.eclipse.core.runtime.IProgressMonitor monitor)
           
protected  void searchIn(org.eclipse.emf.common.util.URI uri, IResourceDescription resourceDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSearchHelper

public JavaSearchHelper()
Method Detail

init

public void init(org.eclipse.jdt.ui.search.ISearchRequestor requestor,
                 IResourceDescriptions resourceDescriptions)

search

public void search(org.eclipse.emf.common.util.URI uri,
                   org.eclipse.core.runtime.IProgressMonitor monitor)

searchIn

protected void searchIn(org.eclipse.emf.common.util.URI uri,
                        IResourceDescription resourceDescription)

accept

protected void accept(IReferenceDescription referenceDescription)

getLocation

protected ITextRegion getLocation(org.eclipse.emf.ecore.EObject sourceEObject,
                                  org.eclipse.emf.ecore.EReference eReference,
                                  int indexInList)

getResourceSet

protected org.eclipse.emf.ecore.resource.ResourceSet getResourceSet(org.eclipse.core.resources.IProject project)

acceptMatch

protected void acceptMatch(java.lang.Object element,
                           ITextRegion region)

createResourceSet

protected org.eclipse.emf.ecore.resource.ResourceSet createResourceSet(org.eclipse.core.resources.IProject project)