Package org.eclipse.dltk.core.search

Examples of org.eclipse.dltk.core.search.SearchEngine.search()


   
    SearchEngine engine = new SearchEngine();
    SearchParticipant defaultSearchParticipant = SearchEngine.getDefaultSearchParticipant();
    IDLTKSearchScope scope = SearchEngine.createSearchScope(searchProj);
   
    engine.search(searchPattern, array(defaultSearchParticipant), scope, requestor, new NullProgressMonitor());
    return requestor;
  }
 
  protected void testSearch(SearchPattern searchPattern, HashSet<IModelElement> expected) throws CoreException {
    SearchRequestorResultCollector requestor = executeSearch(searchPattern);
View Full Code Here


      }
    }

    if (searchPattern != null){
      SearchRequestor requestor = new SearchRequestor();
      engine.search(
          searchPattern,
          new SearchParticipant[]{SearchEngine.getDefaultSearchParticipant()},
          scope,
          requestor,
          new NullProgressMonitor());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.