Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: bb6c1baaae5d39cdf57dd457b525e907d928f233 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui.cheatsheets">
<annotation>
      <appInfo>
         <meta.schema plugin="org.eclipse.ui.cheatsheets" id="composite_schema" name="Composite Cheat Sheets"/>
      </appInfo>
      <documentation>
         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.

(&lt;a href=&quot;cheatSheetContentFileSpec.exsd&quot;&gt;machine readable XML schema.&lt;/a&gt;
      </documentation>
   </annotation>

   <element name="compositeCheatsheet">
      <annotation>
         <documentation>
            The root element of a composite cheatsheet
         </documentation>
      </annotation>
      <complexType>
         <choice>
            <element ref="taskGroup"/>
            <element ref="task"/>
         </choice>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name of the composite cheat sheet which will be displayed in large font when the composite cheat sheet is opened.
               </documentation>
               <appInfo>
                  <meta.attribute translatable="true"/>
               </appInfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="taskGroup">
      <annotation>
         <documentation>
            A task group represents a collection of related tasks. If the kind is &quot;choice&quot; only one of the child tasks need to be completed. If the kind is &quot;set&quot; or &quot;sequence&quot; all children must be completed.

Note that the child elements &amp;lt;task&amp;gt;, &amp;lt;taskGroup&amp;gt;, &amp;lt;intro&amp;gt;, &amp;lt;onCompletion&amp;gt; and &amp;lt;dependsOn&amp;gt; may occur in any order. The order of the &amp;lt;task&amp;gt; and &amp;lt;taskGroup&amp;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.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <choice minOccurs="1" maxOccurs="unbounded">
               <element ref="task"/>
               <element ref="taskGroup"/>
            </choice>
            <element ref="intro" minOccurs="0" maxOccurs="1"/>
            <element ref="onCompletion" minOccurs="0" maxOccurs="1"/>
            <element ref="dependsOn" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="kind" use="default" value="set">
            <annotation>
               <documentation>
                  The kind of this task group which can be &quot;set&quot;, &quot;sequence&quot; or &quot;choice&quot;. 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.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="set">
                  </enumeration>
                  <enumeration value="sequence">
                  </enumeration>
                  <enumeration value="choice">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name of this task group which will be displayed in the task explorer.
               </documentation>
               <appInfo>
                  <meta.attribute translatable="true"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  An id for this task group which is required if this task group is referenced by a dependsOn element.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="skip" type="boolean" use="default" value="false">
            <annotation>
               <documentation>
                  If true this group of tasks may be skipped.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="task">
      <annotation>
         <documentation>
            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 &quot;cheatsheet&quot; represents a simple cheatsheet. Other task kinds may be contributed.

Note that the child elements &amp;lt;intro&amp;gt;, &amp;lt;onCompletion&amp;gt;, &amp;lt;param&amp;gt; and &amp;lt;dependsOn&amp;gt; may occur in any order.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="intro" minOccurs="0" maxOccurs="1"/>
            <element ref="onCompletion" minOccurs="0" maxOccurs="1"/>
            <element ref="param" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="dependsOn" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="kind" type="string" use="default" value="set">
            <annotation>
               <documentation>
                  The task kind. A task kind of &quot;cheatsheet&quot; represents a simple cheatsheet, other task kinds can be contributed using the extension point org.eclipse.ui.cheatsheets.cheatSheetContent.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name of this task which will be displayed in the task explorer.
               </documentation>
               <appInfo>
                  <meta.attribute translatable="true"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  An id for this task group which is required if this task group is referenced by a dependsOn element.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="skip" type="boolean" use="default" value="false">
            <annotation>
               <documentation>
                  If true this task may be skipped.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="param">
      <annotation>
         <documentation>
            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.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name of this parameter. A task of kind=&quot;cheatsheet&quot; can have the following parameters:

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;path: The URL of a cheat sheet content file. This may be an absolute URL, or relative to the content file for the composite cheat sheet. If both id and path are specified the path will be used to locate the content file and the id parameter will be ignored.&lt;/p&gt; 

&lt;p&gt;showIntro: A boolean parameter with default value of true. If &quot;false&quot; the cheat sheet when started will initially show the first step rather than the introduction.&lt;/p&gt;
               </documentation>
            </annotation>
         </attribute>
         <attribute name="value" type="string" use="required">
            <annotation>
               <documentation>
                  The value of this parameter.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="intro" type="string">
      <annotation>
         <documentation>
            Contains the text which will be displayed before this task has been started. May contain 
&lt;a href=&quot;../../../org.eclipse.platform.doc.isv/guide/forms_controls_text_markup.htm&quot;&gt;form text markup&lt;/a&gt;.
         </documentation>
      </annotation>
   </element>

   <element name="onCompletion" type="string">
      <annotation>
         <documentation>
            Contains the text which will be displayed in the completion panel for this task. May contain 
&lt;a href=&quot;../../../org.eclipse.platform.doc.isv/guide/forms_controls_text_markup.htm&quot;&gt;form text markup&lt;/a&gt;.
         </documentation>
      </annotation>
   </element>

   <element name="dependsOn">
      <annotation>
         <documentation>
            Creates a dependency between two tasks or subtasks.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="task" type="string" use="required">
            <annotation>
               <documentation>
                  The id of the task or task group which must be completed before this task can be started.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appInfo>
         <meta.section type="since"/>
      </appInfo>
      <documentation>
         3.2
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="examples"/>
      </appInfo>
      <documentation>
         
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="apiInfo"/>
      </appInfo>
      <documentation>
         
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="implementation"/>
      </appInfo>
      <documentation>
         
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="copyright"/>
      </appInfo>
      <documentation>
         Copyright (c) 2006, 2007 IBM Corporation and others.&lt;br&gt;

This program and the accompanying materials are made 
available under the terms of the Eclipse Public License 2.0 which accompanies 
this distribution, and is available at &lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/

SPDX-License-Identifier: EPL-2.0
      </documentation>
   </annotation>

</schema>

Back to the top