VM 安装类型用户界面页面

org.eclipse.jdt.debug.ui.vmInstallTypePage

此扩展点提供了一种机制来添加将出现在启动配置对话框的 JRE 选项卡中的用户界面。仅当在 JRE 选项卡中选择了指定安装类型的 VM 时,才会显示该用户界面。

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


以下是 VM 安装类型页面扩展点的示例:

 

<extension point=

"org.eclipse.jdt.debug.ui.vmInstallTypePage"

>

<vmInstallTypePage id=

"com.example.ExampleVMInstallTypePage"

vmInstallTypeID=

"com.example.ExampleVMInstallTypeIdentifier"

class=

"com.example.ExampleVMInstallTypePage"

>

</vmInstallTypePage>

</extension>

在以上示例中,每当当前选择的 JRE 具有 VM 安装类型标识 com.example.ExampleVMInstallTypeIdentifier 时,添加的页面就将显示在启动配置对话框的 JRE 选项卡中。

属性 class 的值必须是实现接口 org.eclipse.debug.ui.ILaunchConfigurationTab 的 Java 类的标准名称。