Package org.eclipse.search.core.text

Examples of org.eclipse.search.core.text.TextSearchEngine


    return searchInFiles(loadedFiles, testCaseName, testName);
  }

  private TestCaseFinderResult searchInFiles(IFile[] loadedFiles,
      String testCaseName, String testName) {
    TextSearchEngine engine = TextSearchEngine.create();
    TestCaseSearchRequestor requestor = new TestCaseSearchRequestor();
    engine.search(loadedFiles, requestor, createPattern(testCaseName, testName),
        new NullProgressMonitor());
    return requestor.getResult();
  }
View Full Code Here


  }

  public final static TextSearcher createSearcher(
      TextSearchScope newSearchScope, ResultVisitor visitor,
      Pattern searchPattern) {
    final TextSearchEngine engine = TextSearchEngine.createDefault();
    return createSearcher(engine, newSearchScope, visitor, searchPattern);
  }
View Full Code Here

  }

  public final static TextSearcher createSearcher(
      TextSearchScope newSearchScope, ResultVisitor visitor,
      Pattern searchPattern) {
    final TextSearchEngine engine = TextSearchEngine.createDefault();
    return createSearcher(engine, newSearchScope, visitor, searchPattern);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.search.core.text.TextSearchEngine

Copyright © 2018 www.massapicom. 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.