diff options
Diffstat (limited to 'doc/org.eclipse.cdt.doc.isv')
-rw-r--r-- | doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/Howtodeveloptemplates.html | 14 | ||||
-rw-r--r-- | doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/exampletemplate.html | 11 |
2 files changed, 9 insertions, 16 deletions
diff --git a/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/Howtodeveloptemplates.html b/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/Howtodeveloptemplates.html index 1efadb18ea6..ab94521fc7c 100644 --- a/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/Howtodeveloptemplates.html +++ b/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/Howtodeveloptemplates.html @@ -79,7 +79,6 @@ For a project template the <code>type</code> should be <code>ProjTempl</code>. <li> <p> <code>version</code>: Use this attribute to specify the major version -number of the template. </p> <li> <p> @@ -235,7 +234,7 @@ property The syntax for the <code>property</code> elements included by the property-group element is as follows: </p> -<p class="CodeBlock"><code><property <br>id="propertyId"<br>label="User visible label of the property"<br>description="A brief description of the property"<br>type="type of the property"<br>pattern="Regular expression of the expected property"<br>default="Default value of the property"<br>size="size"<br>mandatory="true|false"<br>hidden="true|false"<br>persist="true|false"><br><br> <item <br> name="name of the item"<br> label="User visible label of the item"<br> selected="true|false"><br> ...<br> </item><br></property></code></p> +<p class="CodeBlock"><code><property <br>id="propertyId"<br>label="User visible label of the property"<br>description="A brief description of the property"<br>type="type of the property"<br>pattern="Regular expression of the expected property"<br>default="Default value of the property"<br>size="size"<br>mandatory="true|false"<br>hidden="true|false"<br>persist="true|false"><br><br> <item <br> value="value of the item"<br> label="User visible label of the item"<br> ...<br> </item><br></property></code></p> <p> Here is a list of attributes of the <code>property</code> element: </p> @@ -339,27 +338,20 @@ If the property <code>type</code> is <code>select</code> or specify the items to be listed. There is no limitation on the number of items that can be listed. Here is the syntax for the <code>item</code> element: </p> -<p class="CodeBlock"><code><item <br>name="name of the item"<br>label="User visible label of the item"<br>selected="true|false"><br></item></code></p> +<p class="CodeBlock"><code><item <br>value="value of the item"<br>label="User visible label of the item"<br></item></code></p> <p> Here is a list of attributes of the <code>item</code> element: </p> <ul> <li> <p> -<code>name</code>: Used to specify a unique name for the list item. -</p> -<li> -<p> <code>label</code>: Used to specify a label that is displayed to the user. </p> <li> <p> -<code>selected</code>: Used to specify whether the list item is -selected by default. The value for this attribute can either be -<code>true</code> or <code>false</code>. +<code>value</code>: Used to specify a unique value for the list item. This will be the value used in macro expansions. </p> -</li> </ul> <h4 class="subheading"> process diff --git a/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/exampletemplate.html b/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/exampletemplate.html index dd644908d85..a06285bd123 100644 --- a/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/exampletemplate.html +++ b/doc/org.eclipse.cdt.doc.isv/guide/projectTemplateEngine/exampletemplate.html @@ -94,14 +94,15 @@ The following is an example template to create a simple Symbian OS label="Target Type"<br> description="Select the target type"<br> type="select"<br> + default="app"<br> hidden="false"<br> mandatory="true"<br> persist="true"><br> - <item label="APP" selected="true" name="app"/><br> - <item label="LIB" selected="false" name="lib"/><br> - <item label="DLL" selected="false" name="dll"/><br> - <item label="EXE" selected="false" name="exe"/><br> - <item label="EXEDLL" selected="false" name="exedll"/><br> + <item label="APP" value="app"/><br> + <item label="LIB" value="lib"/><br> + <item label="DLL" value="dll"/><br> + <item label="EXE" value="exe"/><br> + <item label="EXEDLL" value="exedll"/><br> </property><br> </property-group><br> <br> |