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>


以下是查询参与者添加项的示例:

   

<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