From b75b0925fead6030428b896f0b958e39ae8b8152 Mon Sep 17 00:00:00 2001
From: Andrew Ferguson
Date: Tue, 18 Mar 2008 15:26:50 +0000
Subject: 222954: apply fix
---
.../guide/projectTemplateEngine/Howtodeveloptemplates.html | 14 +++-----------
.../guide/projectTemplateEngine/exampletemplate.html | 11 ++++++-----
2 files changed, 9 insertions(+), 16 deletions(-)
(limited to 'doc')
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 type
should be ProjTempl
.
version
: Use this attribute to specify the major version
-number of the template.
@@ -235,7 +234,7 @@ property
The syntax for the property
elements included by the
property-group element is as follows:
<property
id="propertyId"
label="User visible label of the property"
description="A brief description of the property"
type="type of the property"
pattern="Regular expression of the expected property"
default="Default value of the property"
size="size"
mandatory="true|false"
hidden="true|false"
persist="true|false">
<item
name="name of the item"
label="User visible label of the item"
selected="true|false">
...
</item>
</property>
<property
id="propertyId"
label="User visible label of the property"
description="A brief description of the property"
type="type of the property"
pattern="Regular expression of the expected property"
default="Default value of the property"
size="size"
mandatory="true|false"
hidden="true|false"
persist="true|false">
<item
value="value of the item"
label="User visible label of the item"
...
</item>
</property>
Here is a list of attributes of the property
element:
type
is select
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 item
element:
-<item
name="name of the item"
label="User visible label of the item"
selected="true|false">
</item>
<item
value="value of the item"
label="User visible label of the item"
</item>
Here is a list of attributes of the item
element:
-name
: Used to specify a unique name for the list item.
-
label
: Used to specify a label that is displayed to the
user.
-selected
: Used to specify whether the list item is
-selected by default. The value for this attribute can either be
-true
or false
.
+value
: Used to specify a unique value for the list item. This will be the value used in macro expansions.