Java クエリー登録プログラム

org.eclipse.jdt.ui.queryParticipants

3.0

クライアントはこの拡張ポイントを使用して、Java 検索に結果を提供できます。

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


クエリー participant の contribution の例を以下に示します。

   

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

提供されたクラスは、 org.eclipse.jdt.ui.search.IQueryParticipant を実装しなければなりません。

なし