<!ELEMENT extension (vmInstallTypePage*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT vmInstallTypePage EMPTY>
<!ATTLIST vmInstallTypePage
id CDATA #REQUIRED
vmInstallTypeID CDATA #REQUIRED
class CDATA #REQUIRED>
在以上示例中,每当当前选择的 JRE 具有 VM 安装类型标识 com.example.ExampleVMInstallTypeIdentifier 时,添加的页面就将显示在启动配置对话框的 JRE 选项卡中。<extension point=
"org.eclipse.jdt.debug.ui.vmInstallTypePage"
>
<vmInstallTypePage id=
"com.example.ExampleVMInstallTypePage"
vmInstallTypeID=
"com.example.ExampleVMInstallTypeIdentifier"
class=
"com.example.ExampleVMInstallTypePage"
>
</vmInstallTypePage>
</extension>
Copyright (c) 2000, 2004 IBM Corporation and others.
All rights reserved. 本程序及所附带提供的资料依据 Common Public License v1.0 的条款方可使用,本发行中提供了该许可条款,并且在以下位置也可获得该条款:http://www.eclipse.org/legal/cpl-v10.html