Deltagere i JavaScript-forespørgsel

Id:
org.eclipse.wst.jsdt.ui.queryParticipants

Fra:
3.0

Beskrivelse:
Klienter kan bruge dette udvidelsespunkt til at bidrage med resultater til JavaScript-søgninger.

Konfigurationskode:

<!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

>


Eksempler:
Nedenfor vises et eksempel på en forespørgselsdeltager:


   <extension
         point="org.eclipse.wst.jsdt.ui.queryParticipants">
      <queryParticipant
            label="Example Query Participant"
            nature="org.eclipse.wst.jsdt.core.javanature"
            class="org.eclipse.wst.jsdt.ui.example.TestParticipant"
            id="org.eclipse.wst.jsdt.ui.example.TestParticipant">
      </queryParticipant>
   </extension>

API-oplysninger:
Den leverede klasse skal implementere org.eclipse.wst.jsdt.ui.search.IQueryParticipant.

Leveret implementering:
Ingen


Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html