Package org.eclipse.jst.jsp.ui.internal.java.search

Examples of org.eclipse.jst.jsp.ui.internal.java.search.JSPSearchRequestor


        IJavaElement element = elementQuery.getElement();
       
        if(DEBUG)
          System.out.println("JSP Query Participant searching on ELEMENT: " + element); //$NON-NLS-1$
       
        SearchRequestor jspRequestor = new JSPSearchRequestor(requestor);
       
        // pa_TODO need to adapt JavaSearchScope to a JSPSearchScope
        JSPSearchSupport.getInstance().search(element, new JSPSearchScope(), jspRequestor, monitor);
       
      }
      else if(querySpecification instanceof PatternQuerySpecification) {
       
        // pattern search (eg. from Java search page)
        PatternQuerySpecification patternQuery = (PatternQuerySpecification)querySpecification;
        String pattern = patternQuery.getPattern();
       
        if(DEBUG)
          System.out.println("JSP Query Participant searching on PATTERN: " + pattern); //$NON-NLS-1$
       
        SearchRequestor jspRequestor = new JSPSearchRequestor(requestor);
       
        JSPSearchSupport.getInstance().search(pattern,
                            new JSPSearchScope(),
                            patternQuery.getSearchFor(),
                            patternQuery.getLimitTo(),
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsp.ui.internal.java.search.JSPSearchRequestor

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.