ウィザードでは、オプションで、ウィザードに関する簡略テキストを本文に含む記述サブエレメントを 指定することができます。
<!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, 2004 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