Bug 57027 - Need API to identify core search participants
Summary: Need API to identify core search participants
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 05:42 EST by Thomas M??der CLA
Modified: 2004-05-10 05:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas M??der CLA 2004-04-01 05:42:53 EST
M8

I'm currently looking at enabling participants for Java search. The examples we
have in mind are mathes in JSP's and launch configurations. We have indentified
the need to have a participant at the UI level. What we're missing now is a way
to tie the UI participant back to the core participant. While we can get the set
of all search participants (SearchEngine.getSearchParticipants()), we can't
identify a particular one (i.e. get the JSP search participant).
What we propose is a way to get to associate an id with a search participant.
This would require new API of the form getID(ISearchParticipant) and/or
getSearchParticipant(String id)
Comment 1 Dirk Baeumer CLA 2004-04-01 08:50:31 EST
This is also needed if we want to use the new search API in refactoring to 
specify the JavaSearchParticiant only. Philippe, can we add this API early M9 ?
Comment 2 Philipe Mulet CLA 2004-05-10 05:48:35 EDT
For reaching the Java search participant:

SearchEngine#getDefaultSearchParticipant()

Do you still need something from us ? If so please reopen.