QuerySpecification
; an
ElementQuerySpecification
if searching for a specific
IJavaElement
, a
PatternQuerySpecification
when searching for a string pattern.
Clients who want to participate in Java search queries should implement IQueryParticipant
. A query participant interprets a QuerySpecification
and reports matches to a ISearchRequestor
. If a query participant wishes to report matches against elements that are not IResources
or IJavaElements
, it has to implement a IMatchPresentation
to render these elements.