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