### Composite cheat sheet content file XML format

###### Identifier:

org.eclipse.ui.cheatsheets.composite_schema

###### Since:

3.2

###### Description:

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.

###### Configuration Markup:

<!ELEMENT compositeCheatsheet (taskGroup | task)>

<!ATTLIST compositeCheatsheet

name CDATA #REQUIRED>

The root element of a composite cheatsheet

- name - The name of the composite cheat sheet which will be displayed in large font when the composite cheat sheet is opened.

<!ELEMENT taskGroup ((task | taskGroup) , intro? , onCompletion? , dependency*)>

<!ATTLIST taskGroup

kind CDATA "set"

name CDATA #REQUIRED

id CDATA #IMPLIED

skip (true | false) "false">

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.

- kind - 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.
- name - The name of this task group which will be displayed in the task explorer.
- id - An id for this task group which is required if this task group is referenced by a dependency element.
- skip - If true this group of tasks may be skipped.

<!ELEMENT task (intro? , onCompletion? , param* , dependency*)>

<!ATTLIST task

kind CDATA #REQUIRED

name CDATA #REQUIRED

id CDATA #IMPLIED

skip (true | false) "false">

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.

- kind - 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.
- name - The name of this task which will be displayed in the task explorer.
- id - An id for this task group which is required if this task group is referenced by a dependency element.
- skip - If true this task may be skipped.

<!ELEMENT param EMPTY>

<!ATTLIST param

name CDATA #REQUIRED

value CDATA #REQUIRED>

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.

- name - The name of this parameter.
- value - The value of this parameter.

<!ELEMENT intro (#PCDATA)>

Contains the text which will be displayed before this task has been started. May contain form text markup.

<!ELEMENT onCompletion (#PCDATA)>

Contains the text which will be displayed in the completion panel for this task. May contain form text markup.

<!ELEMENT dependency EMPTY>

<!ATTLIST dependency

task CDATA #REQUIRED>

Creates a dependency between two tasks or subtasks.

- task - The id of the task or task group which must be completed before this task can be started.