Composite Cheat Sheets

org.eclipse.ui.cheatsheets.composite_schema

3.2

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. (machine readable XML schema.

<!ELEMENT compositeCheatsheet (taskGroup | task)>

<!ATTLIST compositeCheatsheet

name CDATA #REQUIRED>

The root element of a composite cheatsheet



<!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.



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

<!ATTLIST task

kind CDATA "set"

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.



<!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.



<!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.