Package org.eclipse.php.internal.ui.search

Examples of org.eclipse.php.internal.ui.search.FindOccurrencesEngine


   */
  public final void run(ITextSelection ts) {
    ISourceModule input = getEditorInput(fEditor);
    if (!ActionUtil.isProcessable(getShell(), input))
      return;
    FindOccurrencesEngine engine = FindOccurrencesEngine
        .create(new MethodExitsFinder());
    try {
      String result = engine.run(input, ts.getOffset(), ts.getLength());
      if (result != null)
        showMessage(getShell(), fEditor, result);
    } catch (ModelException e) {
      PHPUiPlugin.log(e);
    } catch (IOException e) {
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.search.FindOccurrencesEngine

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.