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

java.lang.Object
  extended by org.eclipse.xtext.common.types.ui.query.QueryParticipant
All Implemented Interfaces:
org.eclipse.jdt.ui.search.IQueryParticipant

public class QueryParticipant
extends java.lang.Object
implements org.eclipse.jdt.ui.search.IQueryParticipant

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
QueryParticipant(com.google.inject.Provider<IResourceDescriptions> resourceDescriptionsProvider, UIParticipant uiParticipant)
           
 
Method Summary
protected  JavaSearchHelper createSearchHelper(org.eclipse.jdt.ui.search.ISearchRequestor requestor)
           
 int estimateTicks(org.eclipse.jdt.ui.search.QuerySpecification query)
           
 org.eclipse.jdt.ui.search.IMatchPresentation getUIParticipant()
           
 void search(org.eclipse.jdt.ui.search.ISearchRequestor requestor, org.eclipse.jdt.ui.search.QuerySpecification query, org.eclipse.core.runtime.IProgressMonitor monitor)
           
protected  void waitForBuild()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParticipant

@Inject
public QueryParticipant(com.google.inject.Provider<IResourceDescriptions> resourceDescriptionsProvider,
                               UIParticipant uiParticipant)
Method Detail

search

public void search(org.eclipse.jdt.ui.search.ISearchRequestor requestor,
                   org.eclipse.jdt.ui.search.QuerySpecification query,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException
Specified by:
search in interface org.eclipse.jdt.ui.search.IQueryParticipant
Throws:
org.eclipse.core.runtime.CoreException

createSearchHelper

protected JavaSearchHelper createSearchHelper(org.eclipse.jdt.ui.search.ISearchRequestor requestor)

waitForBuild

protected void waitForBuild()

estimateTicks

public int estimateTicks(org.eclipse.jdt.ui.search.QuerySpecification query)
Specified by:
estimateTicks in interface org.eclipse.jdt.ui.search.IQueryParticipant

getUIParticipant

public org.eclipse.jdt.ui.search.IMatchPresentation getUIParticipant()
Specified by:
getUIParticipant in interface org.eclipse.jdt.ui.search.IQueryParticipant