<!ELEMENT extension (consolePageParticipant)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT consolePageParticipant (enablement)>
<!ATTLIST consolePageParticipant
id CDATA #REQUIRED
class CDATA #REQUIRED>
IConsolePageParticipant
的 Java 類別之完整名稱。在以上的範例中,提供的主控台頁面參與者將會用於所有類型為 "com.example.ExampleConsole" 的主控台。<extension point=
"org.eclipse.ui.console.consolePageParticipant"
>
<consolePageParticipant class=
"com.example.ExamplePageParticipant"
id=
"com.example.ExamplePageParticipant"
>
<enablement>
<instanceof value=
"com.example.ExampleConsole"
/>
</enablement>
</consolePageParticipant>
</extension>
Copyright (c) 2000, 2005 IBM Corporation and others.
All rights reserved.
本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html