<!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">
AbstractUIPlugin
类,而非用户界面插件扩展 Plugin
基类)。由于 Eclipse 的许多添加项具有用户界面内容,所以此属性在缺省情况下为
true
。true
。如果该插件没有 Java 代码(例如,全部是文档文件),则将其设置为 false
。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 (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which
accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html.