<!ELEMENT extension (participant)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT participant EMPTY>
<!ATTLIST participant
class CDATA #REQUIRED
extensions CDATA #IMPLIED
fileNames CDATA #IMPLIED
contentTypeId CDATA #IMPLIED>
文件設定參與者的規格。為了尋找給定檔案的所有參與者,會以下列順序查閱每個參與者規格的屬性︰contentTypeId、fileNames、extensions。如果發現多個參與者,並不會指定這些參與者的呼叫順序。
<extension id=
"JavaDocumentSetupParticipant"
name=
"%javaDocumentSetupParticipant"
point=
"org.eclipse.core.filebuffers.documentSetup"
>
<participant extensions=
"java"
class=
"org.eclipse.jdt.internal.ui.javaeditor.JavaDocumentSetupParticipant"
>
</participant>
</extension>
Copyright (c) 2001, 2004 IBM Corporation and others.
All rights reserved.
這個程式和檢附的資料是遵循這項分送檢附的 Eclipse Public License 1.0 版的條款而提供的,
請造訪下列網址來取得此條款:http://www.eclipse.org/legal/epl-v10.html