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(),
SearchPattern.R_PATTERN_MATCH,
false,
jspRequestor,