識別碼:org.eclipse.jdt.debug.ui.vmInstallTypePage
說明:此延伸點提供一種可提供 UI 的機制, 而可出現在啟動配置對話框的 JRE 標籤中。 只有在於 JRE 標籤中選出指定安裝類型的 VM 時,才會顯示此 UI。
配置標記:
<!ELEMENT vmInstallTypePage> <!ATTLIST vmInstallTypePage
id CDATA #REQUIRED
vmInstallTypeID CDATA #REQUIRED
class CDATA #REQUIRED
id
:指定此 VM 安裝類型 UI 頁面的唯一識別碼。vmInstallTypeID
:指出此 UI 頁面所適用的 VM 安裝類型
(對應至 VM 安裝類型的 ID)。
class
:指定將實作 ILaunchConfigurationTab
的完整 Java 類別名稱。範例:
下列範例說明 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 標籤中即會出現所提供的頁面。
API 資訊:class 屬性的值必須是實作 org.eclipse.debug.ui.ILaunchConfigurationTab 介面的完整 Java 類別名稱。