Application programming interfaces for Java search participants..

Package Specification

The package provides API that allows clients to participate in Java searches. A Java search query is specified by a 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.