<!ELEMENT extension (wizard*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT wizard (description?)>
<!ATTLIST wizard
id CDATA #REQUIRED
name CDATA #REQUIRED
icon CDATA #IMPLIED
class CDATA #REQUIRED
category CDATA #IMPLIED
ui-content (true | false) "true"
java (true | false) "true"
rcp (true | false) "false"
pureOSGi (true | false) "false"
requiresActivator (true | false) "false"
>AbstractUIPlugin 類別,而非 UI 外掛程式則會延伸 Plugin 基本類別。由於 Eclipse 的許多要素項都含有 UI 內容,因此這個屬性是預設為 true。
true。如果外掛程式沒有 Java 原始碼(例如,只有文件檔),請將它設為 false。
true,只有當使用者選擇「Rich Client 應用程式」選項時,此精靈才會出現在「新建外掛程式專案」精靈中。true,只有當使用者選擇建立純正的 OSGi 軟體組時,此精靈才會出現在「新建外掛程式專案」精靈中。true,只有當使用者選擇產生啟動器來控制外掛程式生命週期時,此精靈才會出現在「新建外掛程式專案」精靈中。<!ELEMENT description (#PCDATA)>
這個精靈的簡要說明。
<extension point="org.eclipse.pde.ui.pluginContent"> <wizard name="Example Plug-in Content Generator" icon="icons/content_wizard.gif" class="com.example.xyz.ContentGeneratorWizard" id="com.example.xyz.ExampleContentGenerator"> <description> Adds a view and a preference page. </description> </wizard> </extension>
org.eclipse.jface.wizard.Wizard。
Copyright © 2004 IBM Corporation and others.
All rights reserved. 本程式與隨附的資料依照本發行版所隨附的 Elipse Public License 1.0 版條款而提供,可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html。