Java Query-deltagere

org.eclipse.jdt.ui.queryParticipants

3.0

Klienter kan bruge dette udvidelsespunkt til at bidrage med resultater til Java-søgninger.

<!ELEMENT extension (queryParticipant)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT queryParticipant EMPTY>

<!ATTLIST queryParticipant

class  CDATA #REQUIRED

id     CDATA #REQUIRED

nature CDATA #REQUIRED

name   CDATA #REQUIRED>


Nedenfor vises et eksempel på en forespørgselsdeltager:

   

<extension point=

"org.eclipse.jdt.ui.queryParticipants"

>

<queryParticipant label=

"Example Query Participant"

nature=

"org.eclipse.jdt.core.javanature"

class=

"org.eclipse.jdt.ui.example.TestParticipant"

id=

"org.eclipse.jdt.ui.example.TestParticipant"

>

</queryParticipant>

</extension>

Den leverede klasse skal implementere org.eclipse.jdt.ui.search.IQueryParticipant.

Ingen