VM 安裝類型 UI 頁面

識別碼:org.eclipse.jdt.debug.ui.vmInstallTypePage

說明:此延伸點提供一種可提供 UI 的機制, 而可出現在啟動配置對話框的 JRE 標籤中。 只有在於 JRE 標籤中選出指定安裝類型的 VM 時,才會顯示此 UI。

配置標記:

   <!ELEMENT vmInstallTypePage>
   <!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 標籤中即會出現所提供的頁面。

API 資訊:class 屬性的值必須是實作 org.eclipse.debug.ui.ILaunchConfigurationTab 介面的完整 Java 類別名稱。

Copyright IBM Corp. 2000, 2001. All Rights Reserved.