Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-09-18 18:47:00 +0000
committerChris Goldthorpe2007-09-18 18:47:00 +0000
commit4354703aa41faffeaaff217e111e5798d83d01e1 (patch)
tree1fdf606fbd52d23eda5bdc11acd8becb0db0b3e7
parenta267813006c9f257a05876221266194cacc57818 (diff)
downloadeclipse.platform.ua-20070918.tar.gz
eclipse.platform.ua-20070918.tar.xz
eclipse.platform.ua-20070918.zip
Bug 203613 – Generated schema description is not valid HTMLv20070918
-rw-r--r--org.eclipse.ui.cheatsheets/schema/cheatSheetContentFileSpec.html347
-rw-r--r--org.eclipse.ui.cheatsheets/schema/compositeContentFile.html91
2 files changed, 218 insertions, 220 deletions
diff --git a/org.eclipse.ui.cheatsheets/schema/cheatSheetContentFileSpec.html b/org.eclipse.ui.cheatsheets/schema/cheatSheetContentFileSpec.html
index b445c7924..8d542cc72 100644
--- a/org.eclipse.ui.cheatsheets/schema/cheatSheetContentFileSpec.html
+++ b/org.eclipse.ui.cheatsheets/schema/cheatSheetContentFileSpec.html
@@ -6,42 +6,42 @@
<style>@import url("../../schema.css");</style>
</HEAD>
<BODY>
-<H1><CENTER>Cheat Sheet Content File XML Format</CENTER></H1>
+<H1 style="text-align:center">Cheat Sheet Content File XML Format</H1>
<p></p>
-<h6 class=CaptionFigColumn id=header>Identifier: </h6>org.eclipse.ui.cheatsheets.cheat_sheet_schema<p></p>
-<h6 class=CaptionFigColumn id=header>Since: </h6>3.2
+<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ui.cheatsheets.cheat_sheet_schema<p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.2
<p></p>
-<p>
-<h6 class=CaptionFigColumn id=header>Description: </h6><p>This document describes the cheat sheet content file structure as a series of
+<h6 class="CaptionFigColumn SchemaHeader">Description: </h6><p>This document describes the cheat sheet content file structure as a series of
DTD fragments (<a href="cheatSheetContentFileSpec.exsd">machine readable XML schema</a>).</p>
-<p>A cheat sheet consists of a series of items (steps) which must be completed in order. Items can be divided into subitems and can launch commands or actions which will perform some of the steps for the user.</p></p>
-<p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.cheatsheet">cheatsheet</a> (<a href="#e.intro">intro</a> , <a href="#e.item">item</a>+)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST cheatsheet</p>
-<p class=code id=dtdAttlist>title&nbsp;CDATA #REQUIRED&gt;</p>
+<p>A cheat sheet consists of a series of items (steps) which must be completed in order. Items can be divided into subitems and can launch commands or actions which will perform some of the steps for the user.</p><p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.cheatsheet">cheatsheet</a> (<a href="#e.intro">intro</a> , <a href="#e.item">item</a>+)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST cheatsheet</p>
+<p class="code SchemaDtdAttlist">title&nbsp;CDATA #REQUIRED&gt;</p>
+<p></p>
+<p class="ConfigMarkupElementDesc">
The root element of a cheatsheet.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>title</b> - The title of this cheat sheet. The title will be displayed at the head of the cheat sheet view when the cheat sheet is opened.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.intro">intro</a> (<a href="#e.description">description</a>)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST intro</p>
-<p class=code id=dtdAttlist>contextId&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>href&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.intro">intro</a> (<a href="#e.description">description</a>)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST intro</p>
+<p class="code SchemaDtdAttlist">contextId&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">href&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
The &lt;intro&gt; element is used to define the introductory text to be displayed when the cheat sheet is opened.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>contextId</b> - The optional help context id of the documentation for this cheat sheet. If supplied, context help for the given fully-qualified context id is shown to the user (typically in a small pop-up window) when they clicks the introduction's help link. If this attribute is supplied, the <b>href</b> attribute should not be supplied (<b>href</b> will be ignored if both are present).</li>
<li><b>href</b> - The optional help document describing this cheat sheet. If supplied, this help document is shown to the user (typically in a help browser shown in a separate window) when they clicks the introduction's help link. If this attribute is supplied, the <b>contextId</b> attribute should not be supplied (<b>href</b> will be ignored if both are present).</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.description">description</a> (#PCDATA)&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.description">description</a> (#PCDATA)&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
The &lt;description&gt; element holds the description of a cheat sheet or of
a cheat sheet item. The description consists of text interspersed with <a href="../../../org.eclipse.platform.doc.isv/guide/forms_controls_text_markup.htm">form text markup</a>. The cheat sheet automatically formats and lays out the text to
make it show up reasonably in the UI. Within the text, balanced <b>&lt;b&gt;</b>...<b>&lt;/b&gt;</b>
@@ -57,12 +57,12 @@ separator; adjacent spaces and line breaks are treated as single unit and
rendered as a single space or a line break. Whitespace immediately after the
&lt;<b>description</b>&gt; and &lt;<b>br/</b>&gt; tags is ignored, as is
whitespace immediately before the &lt;<b>/description</b>&gt; tag.</p>
-<br><br>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.item">item</a> (<a href="#e.description">description</a> , (<a href="#e.action">action</a> | <a href="#e.command">command</a> | <a href="#e.perform-when">perform-when</a> | (<a href="#e.subitem">subitem</a> | <a href="#e.conditional-subitem">conditional-subitem</a> | <a href="#e.repeated-subitem">repeated-subitem</a>)*) , <a href="#e.onCompletion">onCompletion</a>?)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST item</p>
-<p class=code id=dtdAttlist>title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>dialog&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false"<p class=code id=dtdAttlist>skip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false"<p class=code id=dtdAttlist>contextId&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>href&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
+<br/><br/>
+<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.item">item</a> (<a href="#e.description">description</a> , (<a href="#e.action">action</a> | <a href="#e.command">command</a> | <a href="#e.perform-when">perform-when</a> | (<a href="#e.subitem">subitem</a> | <a href="#e.conditional-subitem">conditional-subitem</a> | <a href="#e.repeated-subitem">repeated-subitem</a>)*) , <a href="#e.onCompletion">onCompletion</a>?)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST item</p>
+<p class="code SchemaDtdAttlist">title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">dialog&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false"<p class="code SchemaDtdAttlist">skip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false"<p class="code SchemaDtdAttlist">contextId&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">href&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
<p>Each &lt;item&gt; element describes one top-level step in a cheat sheet. An
&lt;item&gt; may contain &lt;subitem&gt; elements.
@@ -87,19 +87,19 @@ presentation of a sub-step based on cheat sheet variables whose values are
acquired in earlier steps. A &lt;repeated-subitem&gt; subelement allows a step
to include a set of similar sub-steps. Again, the exact set of sub-steps may be
based on cheat sheet variables whose value are acquired in earlier steps.</p></p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>title</b> - The title of this step.</li>
<li><b>dialog</b> - if &quot;true&quot; means this step involves opening a modal dialog. This is a hint to the system that it should allow the user to continue using the cheat sheet while in the modal dialog. This attribute will only affect dialogs launched from a command or action.</li>
<li><b>skip</b> - if &quot;true&quot; means that the whole step can be skipped; the UI generally shows a button that the user can press to indicate that they are skipping this step</li>
<li><b>contextId</b> - The optional help context id of the documentation for this cheat sheet step. If supplied, context help for the given&nbsp; fully-qualified context id is shown to the user (typically in a small pop-up window) when they clicks the step's help link. If this attribute is supplied, the <b>href</b> attribute should not be supplied (<b>href</b> will be ignored if both are present).</li>
<li><b>href</b> - The optional help document describing this cheat sheet step. If supplied, this help document is shown to the user (typically in a help browser shown in a separate window) when they clicks the step's help link. If this attribute is supplied, the <b>contextId</b> attribute should not be supplied (<b>href</b> will be ignored if both are present).</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.subitem">subitem</a> (<a href="#e.action">action</a> | <a href="#e.command">command</a> | <a href="#e.perform-when">perform-when</a>)?&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST subitem</p>
-<p class=code id=dtdAttlist>label&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>skip&nbsp;&nbsp;(true | false) "false"<p class=code id=dtdAttlist>when&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.subitem">subitem</a> (<a href="#e.action">action</a> | <a href="#e.command">command</a> | <a href="#e.perform-when">perform-when</a>)?&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST subitem</p>
+<p class="code SchemaDtdAttlist">label&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">skip&nbsp;&nbsp;(true | false) "false"<p class="code SchemaDtdAttlist">when&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
<p>Each &lt;subitem&gt; element describes a sub-step in a cheat sheet. A &lt;subitem&gt;
carries a simple text label, but has neither a lengthy description nor further
sub-items.
@@ -115,8 +115,8 @@ given item can be performed in any order. All sub-items within an item have to
be completed or skipped before progressing to the next item. (Which means
actions that must be performed in a required sequence should not be represented
as sub-items.)</p></p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>label</b> - The title of the cheat sheet sub-item. If the string
contains substring occurrences of the form &quot;${<i>var</i>}&quot;, they
are considered references to cheat sheet variables. All such occurrences in
@@ -133,11 +133,11 @@ as sub-items.)</p></p>
element matches this string value. This attribute is ignored if the &lt;subitem&gt;
element is not a child of&nbsp; a &lt;conditional-subitem&gt; element.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.conditional-subitem">conditional-subitem</a> (<a href="#e.subitem">subitem</a>+)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST conditional-subitem</p>
-<p class=code id=dtdAttlist>condition&nbsp;CDATA #REQUIRED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.conditional-subitem">conditional-subitem</a> (<a href="#e.subitem">subitem</a>+)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST conditional-subitem</p>
+<p class="code SchemaDtdAttlist">condition&nbsp;CDATA #REQUIRED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
<p>Each &lt;conditional-subitem&gt; element describes a single sub-step whose
form can differ based on a condition known at the time the item is expanded.
<p>The <b>condition</b> attribute on the &lt;conditional-subitem&gt; element
@@ -149,19 +149,19 @@ with the matching value. It is considered an error if there is no &lt;subitem&gt
element with a matching value.</p>
<p>For example, if the cheat sheet variable named &quot;v1&quot; has the value
&quot;b&quot; when the following item is expanded</p>
-<pre><p class=code id=tag>&lt;item ...&gt;</p>
- <p class=code id=tag>&lt;conditional-subitem condition=<p class=code id=cstring>&quot;${v1}&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;subitem when=<p class=code id=cstring>&quot;a&quot;</p><p class=code id=tag> label=<p class=code id=cstring>&quot;Step for A.&quot;</p><p class=code id=tag> /&gt;</p>
- <p class=code id=tag>&lt;subitem when=<p class=code id=cstring>&quot;b&quot;</p><p class=code id=tag> label=<p class=code id=cstring>&quot;Step for B.&quot;</p><p class=code id=tag> /&gt;</p>
- <p class=code id=tag>&lt;/conditional-subitem&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p></pre>
+<pre class="Example"><span class="code SchemaTag">&lt;item ...&gt;
+ &lt;conditional-subitem condition=</span><span class="code SchemaCstring">&quot;${v1}&quot;</span><span class="code SchemaTag">&gt;
+ &lt;subitem when=</span><span class="code SchemaCstring">&quot;a&quot;</span><span class="code SchemaTag"> label=</span><span class="code SchemaCstring">&quot;Step for A.&quot;</span><span class="code SchemaTag"> /&gt;
+ &lt;subitem when=</span><span class="code SchemaCstring">&quot;b&quot;</span><span class="code SchemaTag"> label=</span><span class="code SchemaCstring">&quot;Step for B.&quot;</span><span class="code SchemaTag"> /&gt;
+ &lt;/conditional-subitem&gt;
+&lt;/item&gt;</span></pre>
then the second sub-item is selected and the item expands to something
equivalent to
-<pre><p class=code id=tag>&lt;item ...&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Step for B.&quot;</p><p class=code id=tag>/&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p></pre></p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<pre class="Example"><span class="code SchemaTag">&lt;item ...&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Step for B.&quot;</span><span class="code SchemaTag">/&gt;
+&lt;/item&gt;</span></pre></p>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>condition</b> - Arbitrary string value used to select which child &lt;subitem&gt;
will be used. If the attribute string has the form &quot;${<i>var</i>}&quot;,
it is considered a reference to a cheat sheet variable <i>var</i>, and value
@@ -169,11 +169,11 @@ equivalent to
the start of execution of the containing &lt;item&gt; element (or the empty
string if the variable is unbound at that time).</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.repeated-subitem">repeated-subitem</a> (<a href="#e.subitem">subitem</a>)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST repeated-subitem</p>
-<p class=code id=dtdAttlist>values&nbsp;CDATA #REQUIRED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.repeated-subitem">repeated-subitem</a> (<a href="#e.subitem">subitem</a>)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST repeated-subitem</p>
+<p class="code SchemaDtdAttlist">values&nbsp;CDATA #REQUIRED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
<p>Each &lt;repeated-subitem&gt; element describes a sub-item that expands into
0, 1, or more similar sub-steps.
@@ -184,27 +184,27 @@ element with occurrences of the variable &quot;this&quot; replaced by the
corresponding string value.</p>
<p>For example, if the cheat sheet variable named &quot;v1&quot; has the value
&quot;1,b,three&quot; when the following item is expanded</p>
-<pre><p class=code id=tag>&lt;item ...&gt;</p>
- <p class=code id=tag>&lt;repeated-subitem values=<p class=code id=cstring>&quot;${v1}&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Step ${this}.&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;action class=<p class=code id=cstring>&quot;com.xyz.myaction&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> param1=<p class=code id=cstring>&quot;${this}&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
- <p class=code id=tag>&lt;/repeated-subitem&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p></pre>
+<pre class="Example"><span class="code SchemaTag">&lt;item ...&gt;
+ &lt;repeated-subitem values=</span><span class="code SchemaCstring">&quot;${v1}&quot;</span><span class="code SchemaTag">&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Step ${this}.&quot;</span><span class="code SchemaTag">&gt;
+ &lt;action class=</span><span class="code SchemaCstring">&quot;com.xyz.myaction&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> param1=</span><span class="code SchemaCstring">&quot;${this}&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/subitem&gt;
+ &lt;/repeated-subitem&gt;
+&lt;/item&gt;</span></pre>
then the item expands to something equivalent to:
-<pre><p class=code id=tag>&lt;item ...&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Step 1.&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;action class=<p class=code id=cstring>&quot;com.xyz.myaction&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> param1=<p class=code id=cstring>&quot;1&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Step b.&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;action class=<p class=code id=cstring>&quot;com.xyz.myaction&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> param1=<p class=code id=cstring>&quot;b&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Step three.&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;action class=<p class=code id=cstring>&quot;com.xyz.myaction&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> param1=<p class=code id=cstring>&quot;three&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p></pre></p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<pre class="Example"><span class="code SchemaTag">&lt;item ...&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Step 1.&quot;</span><span class="code SchemaTag">&gt;
+ &lt;action class=</span><span class="code SchemaCstring">&quot;com.xyz.myaction&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> param1=</span><span class="code SchemaCstring">&quot;1&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/subitem&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Step b.&quot;</span><span class="code SchemaTag">&gt;
+ &lt;action class=</span><span class="code SchemaCstring">&quot;com.xyz.myaction&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> param1=</span><span class="code SchemaCstring">&quot;b&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/subitem&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Step three.&quot;</span><span class="code SchemaTag">&gt;
+ &lt;action class=</span><span class="code SchemaCstring">&quot;com.xyz.myaction&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> param1=</span><span class="code SchemaCstring">&quot;three&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/subitem&gt;
+&lt;/item&gt;</span></pre></p>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>values</b> - A string containing a comma-separated list of values. If
the attribute string has the form &quot;${<i>var</i>}&quot;, it is
considered a reference to a cheat sheet variable <i>var</i>, and value of
@@ -212,14 +212,14 @@ then the item expands to something equivalent to:
start of execution of the containing &lt;item&gt; element (or the empty
string if the variable is unbound at that time).</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.action">action</a> EMPTY&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST action</p>
-<p class=code id=dtdAttlist>class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>pluginId&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>paramN&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>confirm&nbsp;&nbsp;&nbsp;(true | false) "false"<p class=code id=dtdAttlist>when&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>required&nbsp;&nbsp;(true | false) "true"<p class=code id=dtdAttlist>translate&nbsp;CDATA #IMPLIED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.action">action</a> EMPTY&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST action</p>
+<p class="code SchemaDtdAttlist">class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">pluginId&nbsp;&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">paramN&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">confirm&nbsp;&nbsp;&nbsp;(true | false) "false"<p class="code SchemaDtdAttlist">when&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">required&nbsp;&nbsp;(true | false) "true"<p class="code SchemaDtdAttlist">translate&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
Each &lt;action&gt; element describes an action in a cheat sheet.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>class</b> - The fully-qualified name of the Java class implementing <code>org.eclipse.jface.action.IAction</code>.
If this action also implements <code>org.eclipse.ui.cheatsheets.ICheatSheetAction</code>
it will be invoked via its run(String[],ICheatSheetManager) method and be
@@ -256,22 +256,22 @@ Examples:
<br>
<code>translate = ""</code> means do not translate any parameters for this action.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.command">command</a> EMPTY&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST command</p>
-<p class=code id=dtdAttlist>serialization&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>returns&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>confirm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false"<p class=code id=dtdAttlist>when&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>required&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "true"<p class=code id=dtdAttlist>translate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.command">command</a> EMPTY&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST command</p>
+<p class="code SchemaDtdAttlist">serialization&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">returns&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">confirm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false"<p class="code SchemaDtdAttlist">when&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">required&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "true"<p class="code SchemaDtdAttlist">translate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
<p>Each &lt;command&gt; element describes an command in a cheat sheet.
<p>Below is an example of an item with a command which opens a dialog box and
stores the result in the cheat sheet variable &quot;result&quot;.</p>
-<pre><p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;View Selection&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Select a view which will be opened in the next step.<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;command returns = <p class=code id=cstring>&quot;result&quot;</p><p class=code id=tag>
- serialization=<p class=code id=cstring>&quot;org.eclipse.ui.dialogs.openMessageDialog(title=Select View,buttonLabel0=Package Explorer,message=Select a view ,buttonLabel1=Search View)&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;onCompletion&gt;</p> Selected the ${result}. <p class=code id=tag>&lt;/onCompletion&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p></pre></p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<pre class="Example"><span class="code SchemaTag">&lt;item title=</span><span class="code SchemaCstring">&quot;View Selection&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Select a view which will be opened in the next step.&lt;/description&gt;
+ &lt;command returns = </span><span class="code SchemaCstring">&quot;result&quot;</span><span class="code SchemaTag">
+ serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.dialogs.openMessageDialog(title=Select View,buttonLabel0=Package Explorer,message=Select a view ,buttonLabel1=Search View)&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;onCompletion&gt; Selected the ${result}. &lt;/onCompletion&gt;
+&lt;/item&gt;</span></pre></p>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>serialization</b> - A serialized
<a href="../api/org/eclipse/core/commands/ParameterizedCommand.html">
ParameterizedCommand</a>,&nbsp; which is a string containing the command name
@@ -297,21 +297,21 @@ Examples:
<br>
<code>translate = ""</code> means do not translate any parameters for this command.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.onCompletion">onCompletion</a> (#PCDATA)&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.onCompletion">onCompletion</a> (#PCDATA)&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
Contains text which will be displayed when
an item is completed. This is particularly useful in the final step of the cheat
sheet to acknowledge completion of the entire task. The description consists of text interspersed with <a href="../../../org.eclipse.platform.doc.isv/guide/forms_controls_text_markup.htm">form text markup</a> following the same rules as for a &lt;description&gt; element.
&lt;onCompletion&gt; elements may also contain references to cheat sheet variables of
the form&nbsp; &quot;${<i>var</i>}&quot;, which will be expanded using the actual value of
the cheat sheet variable <i>var</i> at the time this step was completed.</p>
-<br><br>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.perform-when">perform-when</a> (<a href="#e.action">action</a> | <a href="#e.command">command</a>)+&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST perform-when</p>
-<p class=code id=dtdAttlist>condition&nbsp;CDATA #REQUIRED&gt;</p>
+<br/><br/>
+<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.perform-when">perform-when</a> (<a href="#e.action">action</a> | <a href="#e.command">command</a>)+&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST perform-when</p>
+<p class="code SchemaDtdAttlist">condition&nbsp;CDATA #REQUIRED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
<p>Each &lt;perform-when&gt; element describes an action in a cheat sheet.
<p>The <b>condition</b> attribute on the &lt;conditional-subitem&gt; element
provides a string value (invariably this value comes from a cheat sheet
@@ -322,26 +322,26 @@ with the matching value. It is considered an error if there is no &lt;subitem&gt
element with a matching value.</p>
<p>For example, if the cheat sheet variable named &quot;v1&quot; has the value
&quot;b&quot; when the following item is expanded</p>
-<pre><p class=code id=tag>&lt;item ...&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Main step&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;perform-when condition=<p class=code id=cstring>&quot;${v1}&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;action when=<p class=code id=cstring>&quot;a&quot;</p><p class=code id=tag> class=<p class=code id=cstring>&quot;com.xyz.action1&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> /&gt;</p>
- <p class=code id=tag>&lt;action when=<p class=code id=cstring>&quot;b&quot;</p><p class=code id=tag> class=<p class=code id=cstring>&quot;com.xyz.action2&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> /&gt;</p>
- <p class=code id=tag>&lt;command when=<p class=code id=cstring>&quot;c&quot;</p><p class=code id=tag> serialization=<p class=code id=cstring>&quot;org.eclipse.search.ui.views.SearchView&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/perform-when&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p>
-</pre>
+<pre class="Example"><span class="code SchemaTag">&lt;item ...&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Main step&quot;</span><span class="code SchemaTag">&gt;
+ &lt;perform-when condition=</span><span class="code SchemaCstring">&quot;${v1}&quot;</span><span class="code SchemaTag">&gt;
+ &lt;action when=</span><span class="code SchemaCstring">&quot;a&quot;</span><span class="code SchemaTag"> class=</span><span class="code SchemaCstring">&quot;com.xyz.action1&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> /&gt;
+ &lt;action when=</span><span class="code SchemaCstring">&quot;b&quot;</span><span class="code SchemaTag"> class=</span><span class="code SchemaCstring">&quot;com.xyz.action2&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> /&gt;
+ &lt;command when=</span><span class="code SchemaCstring">&quot;c&quot;</span><span class="code SchemaTag"> serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.search.ui.views.SearchView&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/perform-when&gt;
+ &lt;/subitem&gt;
+&lt;/item&gt;
+</span></pre>
then the second action is selected and the item expands to something equivalent
to
-<pre><p class=code id=tag>&lt;item ...&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Main step&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;action class=<p class=code id=cstring>&quot;com.xyz.action2&quot;</p><p class=code id=tag> pluginId=<p class=code id=cstring>&quot;com.xyz&quot;</p><p class=code id=tag> /&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
-<p class=code id=tag>&lt;/item&gt;</p>
-</pre></p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<pre class="Example"><span class="code SchemaTag">&lt;item ...&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Main step&quot;</span><span class="code SchemaTag">&gt;
+ &lt;action class=</span><span class="code SchemaCstring">&quot;com.xyz.action2&quot;</span><span class="code SchemaTag"> pluginId=</span><span class="code SchemaCstring">&quot;com.xyz&quot;</span><span class="code SchemaTag"> /&gt;
+ &lt;/subitem&gt;
+&lt;/item&gt;
+</span></pre></p>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>condition</b> - Arbitrary string value used to select which child
&lt;action&gt; or &lt;command&gt; will be performed. If the attribute string has the form
&quot;${<i>var</i>}&quot;, it is considered a reference to a cheat sheet
@@ -350,72 +350,71 @@ to
&lt;item&gt; element (or the empty string if the variable is unbound at that
time).</li>
</ul>
-<br><h6 class=CaptionFigColumn id=header>Examples: </h6><p>The following is an example of a simple cheat sheet content file which
+<br/><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><p>The following is an example of a simple cheat sheet content file which
demonstrates the use of commands, perform-when and conditional subitems.</p>
-<pre>
-<p class=code id=tag>&lt;?xml version=<p class=code id=cstring>&quot;1.0&quot;</p><p class=code id=tag> encoding=<p class=code id=cstring>&quot;UTF-8&quot;</p><p class=code id=tag>?&gt;</p>
-<p class=code id=tag>&lt;cheatsheet title=<p class=code id=cstring>&quot;Sample Cheat Sheet&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;intro&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>A cheat sheet which demonstrates the use of perform-when and conditional subitems<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;/intro&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;View Selection&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Select a view which will be opened in the following steps.<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;command returns = <p class=code id=cstring>&quot;result&quot;</p><p class=code id=tag>
- serialization=<p class=code id=cstring>&quot;org.eclipse.ui.dialogs.openMessageDialog(title=Select View,buttonLabel0=Package Explorer,message=Select a view ,buttonLabel1=Search View)&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;onCompletion&gt;</p> Selected the ${result}. <p class=code id=tag>&lt;/onCompletion&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;Close Views&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Close the search view and package explorer if open<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;Open the view from a perform when item&quot;</p><p class=code id=tag> skip = <p class=code id=cstring>&quot;true&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Uses perform when to open the view seleted previously.<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;perform-when condition = <p class=code id=cstring>&quot;${result}&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;command when = <p class=code id=cstring>&quot;Package Explorer&quot;</p><p class=code id=tag>
- serialization=<p class=code id=cstring>&quot;org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.jdt.ui.PackageExplorer)&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;command when = <p class=code id=cstring>&quot;Search View&quot;</p><p class=code id=tag>
- serialization=<p class=code id=cstring>&quot;org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.search.ui.views.SearchView)&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/perform-when&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;Close Views&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Close the search view and package explorer if open<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;Open the view from a perform when subitem&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Uses perform when to open the view seleted previously.<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;subitem label=<p class=code id=cstring>&quot;Perform when subitem&quot;</p><p class=code id=tag> skip = <p class=code id=cstring>&quot;true&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;perform-when condition = <p class=code id=cstring>&quot;${result}&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;command when = <p class=code id=cstring>&quot;Package Explorer&quot;</p><p class=code id=tag>
- serialization=<p class=code id=cstring>&quot;org.eclipse.jdt.ui.PackageExplorer&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;command when = <p class=code id=cstring>&quot;Search View&quot;</p><p class=code id=tag>
- serialization=<p class=code id=cstring>&quot;org.eclipse.search.ui.views.SearchView&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/perform-when&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;Close Views&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Close the search view and package explorer if open<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
- <p class=code id=tag>&lt;item title=<p class=code id=cstring>&quot;Open the view from a conditional subitem&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;description&gt;</p>Uses perform when to open the view seleted previously.<p class=code id=tag>&lt;/description&gt;</p>
- <p class=code id=tag>&lt;conditional-subitem condition=<p class=code id=cstring>&quot;${result}&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;subitem when=<p class=code id=cstring>&quot;Package Explorer&quot;</p><p class=code id=tag> label=<p class=code id=cstring>&quot;Open package explorer.&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;command serialization = <p class=code id=cstring>&quot;org.eclipse.jdt.ui.PackageExplorer&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
- <p class=code id=tag>&lt;subitem when=<p class=code id=cstring>&quot;Search View&quot;</p><p class=code id=tag> label=<p class=code id=cstring>&quot;Open Search View&quot;</p><p class=code id=tag>&gt;</p>
- <p class=code id=tag>&lt;command serialization = <p class=code id=cstring>&quot;org.eclipse.search.ui.views.SearchView&quot;</p><p class=code id=tag>/&gt;</p>
- <p class=code id=tag>&lt;/subitem&gt;</p>
- <p class=code id=tag>&lt;/conditional-subitem&gt;</p>
- <p class=code id=tag>&lt;/item&gt;</p>
-<p class=code id=tag>&lt;/cheatsheet&gt;</p>
-</pre>
+<pre class="Example"><span class="code SchemaTag">
+&lt;?xml version=</span><span class="code SchemaCstring">&quot;1.0&quot;</span><span class="code SchemaTag"> encoding=</span><span class="code SchemaCstring">&quot;UTF-8&quot;</span><span class="code SchemaTag">?&gt;
+&lt;cheatsheet title=</span><span class="code SchemaCstring">&quot;Sample Cheat Sheet&quot;</span><span class="code SchemaTag">&gt;
+ &lt;intro&gt;
+ &lt;description&gt;A cheat sheet which demonstrates the use of perform-when and conditional subitems&lt;/description&gt;
+ &lt;/intro&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;View Selection&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Select a view which will be opened in the following steps.&lt;/description&gt;
+ &lt;command returns = </span><span class="code SchemaCstring">&quot;result&quot;</span><span class="code SchemaTag">
+ serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.dialogs.openMessageDialog(title=Select View,buttonLabel0=Package Explorer,message=Select a view ,buttonLabel1=Search View)&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;onCompletion&gt; Selected the ${result}. &lt;/onCompletion&gt;
+ &lt;/item&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;Close Views&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Close the search view and package explorer if open&lt;/description&gt;
+ &lt;/item&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;Open the view from a perform when item&quot;</span><span class="code SchemaTag"> skip = </span><span class="code SchemaCstring">&quot;true&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Uses perform when to open the view seleted previously.&lt;/description&gt;
+ &lt;perform-when condition = </span><span class="code SchemaCstring">&quot;${result}&quot;</span><span class="code SchemaTag">&gt;
+ &lt;command when = </span><span class="code SchemaCstring">&quot;Package Explorer&quot;</span><span class="code SchemaTag">
+ serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.jdt.ui.PackageExplorer)&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;command when = </span><span class="code SchemaCstring">&quot;Search View&quot;</span><span class="code SchemaTag">
+ serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.search.ui.views.SearchView)&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/perform-when&gt;
+ &lt;/item&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;Close Views&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Close the search view and package explorer if open&lt;/description&gt;
+ &lt;/item&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;Open the view from a perform when subitem&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Uses perform when to open the view seleted previously.&lt;/description&gt;
+ &lt;subitem label=</span><span class="code SchemaCstring">&quot;Perform when subitem&quot;</span><span class="code SchemaTag"> skip = </span><span class="code SchemaCstring">&quot;true&quot;</span><span class="code SchemaTag">&gt;
+ &lt;perform-when condition = </span><span class="code SchemaCstring">&quot;${result}&quot;</span><span class="code SchemaTag">&gt;
+ &lt;command when = </span><span class="code SchemaCstring">&quot;Package Explorer&quot;</span><span class="code SchemaTag">
+ serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.jdt.ui.PackageExplorer&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;command when = </span><span class="code SchemaCstring">&quot;Search View&quot;</span><span class="code SchemaTag">
+ serialization=</span><span class="code SchemaCstring">&quot;org.eclipse.search.ui.views.SearchView&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/perform-when&gt;
+ &lt;/subitem&gt;
+ &lt;/item&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;Close Views&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Close the search view and package explorer if open&lt;/description&gt;
+ &lt;/item&gt;
+ &lt;item title=</span><span class="code SchemaCstring">&quot;Open the view from a conditional subitem&quot;</span><span class="code SchemaTag">&gt;
+ &lt;description&gt;Uses perform when to open the view seleted previously.&lt;/description&gt;
+ &lt;conditional-subitem condition=</span><span class="code SchemaCstring">&quot;${result}&quot;</span><span class="code SchemaTag">&gt;
+ &lt;subitem when=</span><span class="code SchemaCstring">&quot;Package Explorer&quot;</span><span class="code SchemaTag"> label=</span><span class="code SchemaCstring">&quot;Open package explorer.&quot;</span><span class="code SchemaTag">&gt;
+ &lt;command serialization = </span><span class="code SchemaCstring">&quot;org.eclipse.jdt.ui.PackageExplorer&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/subitem&gt;
+ &lt;subitem when=</span><span class="code SchemaCstring">&quot;Search View&quot;</span><span class="code SchemaTag"> label=</span><span class="code SchemaCstring">&quot;Open Search View&quot;</span><span class="code SchemaTag">&gt;
+ &lt;command serialization = </span><span class="code SchemaCstring">&quot;org.eclipse.search.ui.views.SearchView&quot;</span><span class="code SchemaTag">/&gt;
+ &lt;/subitem&gt;
+ &lt;/conditional-subitem&gt;
+ &lt;/item&gt;
+&lt;/cheatsheet&gt;
+</span></pre>
<p></p>
-<br>
-<p class=note id=copyright>
+<br/>
+<p class="note SchemaCopyright">
Copyright (c) 2004, 2007 IBM Corporation and others.<br>
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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
-<p></p>
</p>
</BODY>
diff --git a/org.eclipse.ui.cheatsheets/schema/compositeContentFile.html b/org.eclipse.ui.cheatsheets/schema/compositeContentFile.html
index 3f2520542..6962736fb 100644
--- a/org.eclipse.ui.cheatsheets/schema/compositeContentFile.html
+++ b/org.eclipse.ui.cheatsheets/schema/compositeContentFile.html
@@ -6,65 +6,65 @@
<style>@import url("../../schema.css");</style>
</HEAD>
<BODY>
-<H1><CENTER>Composite Cheat Sheets</CENTER></H1>
+<H1 style="text-align:center">Composite Cheat Sheets</H1>
<p></p>
-<h6 class=CaptionFigColumn id=header>Identifier: </h6>org.eclipse.ui.cheatsheets.composite_schema<p></p>
-<h6 class=CaptionFigColumn id=header>Since: </h6>3.2
+<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ui.cheatsheets.composite_schema<p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.2
<p></p>
-<p>
-<h6 class=CaptionFigColumn id=header>Description: </h6>The schema definition for a composite cheat sheet content file. A composite cheat sheet consists of a set of tasks organized into task groups. Each task can be a simple cheat sheet or a user contributed task kind.
+<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>The schema definition for a composite cheat sheet content file. A composite cheat sheet consists of a set of tasks organized into task groups. Each task can be a simple cheat sheet or a user contributed task kind.
-(<a href="cheatSheetContentFileSpec.exsd">machine readable XML schema.</a></p>
-<p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.compositeCheatsheet">compositeCheatsheet</a> (<a href="#e.taskGroup">taskGroup</a> | <a href="#e.task">task</a>)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST compositeCheatsheet</p>
-<p class=code id=dtdAttlist>name&nbsp;CDATA #REQUIRED&gt;</p>
+(<a href="cheatSheetContentFileSpec.exsd">machine readable XML schema.</a><p></p>
+<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.compositeCheatsheet">compositeCheatsheet</a> (<a href="#e.taskGroup">taskGroup</a> | <a href="#e.task">task</a>)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST compositeCheatsheet</p>
+<p class="code SchemaDtdAttlist">name&nbsp;CDATA #REQUIRED&gt;</p>
+<p></p>
+<p class="ConfigMarkupElementDesc">
The root element of a composite cheatsheet</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - The name of the composite cheat sheet which will be displayed in large font when the composite cheat sheet is opened.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.taskGroup">taskGroup</a> ((<a href="#e.task">task</a> | <a href="#e.taskGroup">taskGroup</a>)+ , <a href="#e.intro">intro</a>? , <a href="#e.onCompletion">onCompletion</a>? , <a href="#e.dependency">dependency</a>*)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST taskGroup</p>
-<p class=code id=dtdAttlist>kind&nbsp;(set|sequence|choice) "set"<p class=code id=dtdAttlist>name&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>skip&nbsp;(true | false) "false"&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.taskGroup">taskGroup</a> ((<a href="#e.task">task</a> | <a href="#e.taskGroup">taskGroup</a>)+ , <a href="#e.intro">intro</a>? , <a href="#e.onCompletion">onCompletion</a>? , <a href="#e.dependency">dependency</a>*)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST taskGroup</p>
+<p class="code SchemaDtdAttlist">kind&nbsp;(set|sequence|choice) "set"<p class="code SchemaDtdAttlist">name&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">skip&nbsp;(true | false) "false"&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
A task group represents a collection of related tasks. If the kind is "choice" only one of the child tasks need to be completed. If the kind is "set" or "sequence" all children must be completed.
Note that the child elements &lt;task&gt;, &lt;taskGroup&gt;, &lt;intro&gt;, &lt;onCompletion&gt; and &lt;dependency&gt; may occur in any order. The order of the &lt;task&gt; and &lt;taskGroup&gt; elements determines the order in which they will be displayed and in the case of a sequence the order in which they must be performed.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>kind</b> - The kind of this task group which can be "set", "sequence" or "choice". If the kind is set or sequence this task group is complete when all of its child tasks/task groups have been completed. In addition the subtasks of a sequence must be completed in order. A choice is complete when any of its subtasks has been completed.</li>
<li><b>name</b> - The name of this task group which will be displayed in the task explorer.</li>
<li><b>id</b> - An id for this task group which is required if this task group is referenced by a dependency element.</li>
<li><b>skip</b> - If true this group of tasks may be skipped.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.task">task</a> (<a href="#e.intro">intro</a>? , <a href="#e.onCompletion">onCompletion</a>? , <a href="#e.param">param</a>* , <a href="#e.dependency">dependency</a>*)&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST task</p>
-<p class=code id=dtdAttlist>kind&nbsp;CDATA "set"<p class=code id=dtdAttlist>name&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>skip&nbsp;(true | false) "false"&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.task">task</a> (<a href="#e.intro">intro</a>? , <a href="#e.onCompletion">onCompletion</a>? , <a href="#e.param">param</a>* , <a href="#e.dependency">dependency</a>*)&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST task</p>
+<p class="code SchemaDtdAttlist">kind&nbsp;CDATA "set"<p class="code SchemaDtdAttlist">name&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">skip&nbsp;(true | false) "false"&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
A leaf task within a composite cheat sheet. A task does not have children, but it does have a task editor which shows in the lower/right hand pane of the cheat sheet view. The task kind determines which task editor will be opened, a task kind of "cheatsheet" represents a simple cheatsheet. Other task kinds may be contributed.
Note that the child elements &lt;intro&gt;, &lt;onCompletion&gt;, &lt;param&gt; and &lt;dependency&gt; may occur in any order.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>kind</b> - The task kind. A task kind of "cheatsheet" represents a simple cheatsheet, other task kinds can be contributed using the extension point org.eclipse.ui.cheatsheets.cheatSheetContent.</li>
<li><b>name</b> - The name of this task which will be displayed in the task explorer.</li>
<li><b>id</b> - An id for this task group which is required if this task group is referenced by a dependency element.</li>
<li><b>skip</b> - If true this task may be skipped.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.param">param</a> EMPTY&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST param</p>
-<p class=code id=dtdAttlist>name&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>value&nbsp;CDATA #REQUIRED&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.param">param</a> EMPTY&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST param</p>
+<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">value&nbsp;CDATA #REQUIRED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
A parameter to a task within a composite cheatsheet. Each parameter has a name and value, both of which are strings. A task may have any number of parameters, two parameters for a single task may not share the same name.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - The name of this parameter. A task of kind="cheatsheet" can have the following parameters:
<p>id: The id of a cheat sheet which has been registered using the extension point org.eclipse.ui.cheatsheets.cheatSheetContent. This identifies the cheatsheet which will be associated with this task. Either the id or the path parameter (but not both) should be specified.</p>
@@ -74,35 +74,34 @@ A parameter to a task within a composite cheatsheet. Each parameter has a name a
<p>showIntro: A boolean parameter with default value of true. If "false" the cheat sheet when started will initially show the first step rather than the introduction.</p></li>
<li><b>value</b> - The value of this parameter.</li>
</ul>
-<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.intro">intro</a> (#PCDATA)&gt;</p>
+<br/><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.intro">intro</a> (#PCDATA)&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
Contains the text which will be displayed before this task has been started. May contain
<a href="../../../org.eclipse.platform.doc.isv/guide/forms_controls_text_markup.htm">form text markup</a>.</p>
-<br><br>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.onCompletion">onCompletion</a> (#PCDATA)&gt;</p>
+<br/><br/>
+<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.onCompletion">onCompletion</a> (#PCDATA)&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
Contains the text which will be displayed in the completion panel for this task. May contain
<a href="../../../org.eclipse.platform.doc.isv/guide/forms_controls_text_markup.htm">form text markup</a>.</p>
-<br><br>
-<p class=code id=dtd>&lt;!ELEMENT <a name="e.dependency">dependency</a> EMPTY&gt;</p>
-<p class=code id=dtd>&lt;!ATTLIST dependency</p>
-<p class=code id=dtdAttlist>task&nbsp;CDATA #REQUIRED&gt;</p>
+<br/><br/>
+<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.dependency">dependency</a> EMPTY&gt;</p>
+<p class="code SchemaDtd">&lt;!ATTLIST dependency</p>
+<p class="code SchemaDtdAttlist">task&nbsp;CDATA #REQUIRED&gt;</p>
<p></p>
-<p class=ConfigMarkup id=elementDesc>
+<p class="ConfigMarkupElementDesc">
Creates a dependency between two tasks or subtasks.</p>
-<br>
-<ul class=ConfigMarkup id=attlistDesc>
+<br/>
+<ul class="ConfigMarkupAttlistDesc">
<li><b>task</b> - The id of the task or task group which must be completed before this task can be started.</li>
</ul>
-<br><br>
-<p class=note id=copyright>
+<br/><br/>
+<p class="note SchemaCopyright">
Copyright (c) 2006, 2007 IBM Corporation and others.<br>
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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
-<p></p>
</p>
</BODY>

Back to the top