Package ag.ion.noa.search

Examples of ag.ion.noa.search.ResultMatchWalker.nextMatch()


      try {
        editorPart = IDE.openEditor(NOASearchPlugin.getDefault().getWorkbench().
            getActiveWorkbenchWindow().getActivePage(), file);
        ResultMatchWalker resultMatchWalker = getNewMatchWalker(editorPart, officeSearchMatch);
        if(resultMatchWalker != null)
          resultMatchWalker.nextMatch();
      }
      catch (CoreException coreException) {
        ErrorDialog.openError(Display.getCurrent().getActiveShell(),
            Messages.OfficeSearchResultPage_dialog_title_internalError, coreException.getMessage(), coreException.getStatus());
      }
View Full Code Here


    }
    else {
      ResultMatchWalker resultMatchWalker = getMatchWalker(editorPart);
      if(resultMatchWalker != null) {
        if(resultMatchWalker.hasNextMatch()) {
          resultMatchWalker.nextMatch();
          if(!NOASearchPlugin.getDefault().getWorkbench().
              getActiveWorkbenchWindow().getActivePage().getActiveEditor().equals(editorPart))
            NOASearchPlugin.getDefault().getWorkbench().
                getActiveWorkbenchWindow().getActivePage().activate(editorPart);
        }
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.