向导可选择指定其主体应包含有关向导的简短文本的描述子元素。
<!ELEMENT extension (wizard*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT wizard (description? , selection*)>
<!ATTLIST wizard
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED
icon CDATA #IMPLIED>
将用来创建导入向导的元素
<!ELEMENT description (#PCDATA)>
其主体应表示导入引擎功能的简短描述的可选子元素。
<!ELEMENT selection EMPTY>
<!ATTLIST selection
name CDATA #IMPLIED
class CDATA #REQUIRED>
用来限制调用向导时可以选择的对象的类型和名称的可选元素。
<extension point=
"org.eclipse.ui.importWizards"
>
<wizard id=
"com.xyz.ImportWizard1"
name=
"XYZ Web Scraper"
class=
"com.xyz.imports.ImportWizard1"
icon=
"./icons/import1.gif"
>
<description>
A simple engine that searches the Web and imports files</description>
<selection class=
"org.eclipse.core.resources.IResource"
/>
</wizard>
</extension>
Copyright (c) 2002, 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