mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
203553: Merge contributions from Beth Tibbitts
This commit is contained in:
parent
0a66345786
commit
9644f4a11e
1 changed files with 19 additions and 7 deletions
|
@ -13,7 +13,8 @@
|
|||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to Template Engine has to extend this extension point, and add template element.
|
||||
Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to the Template Engine must extend this extension point, and add the template element.
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
|
@ -50,7 +51,7 @@
|
|||
<element name="template">
|
||||
<annotation>
|
||||
<documentation>
|
||||
By adding the templates extension point the users can contribute there Template XMLs to the Template Engine plugin.
|
||||
By adding the templates extension point the users can contribute their Template XMLs to the Template Engine plugin.
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
|
@ -67,7 +68,7 @@
|
|||
<attribute name="location" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
The path of template.xml (relative to the base of the containing plug-in). For example "templates/TemplateOne/template.xml". This attribute is mandatory.
|
||||
The path of template.xml (relative to the base of the containing plug-in). For example "templates/TemplateOne/template.xml". This attribute is mandatory.
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="resource"/>
|
||||
|
@ -77,7 +78,14 @@
|
|||
<attribute name="projectType" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
This id refers to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point. See the CDT Build System documentation in the developer guide for built-in project type ids.
|
||||
This attribute is a project type id referring to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point.
|
||||
This attribute is mandatory. CDT pre-defines the following values of the build artifact type property:
|
||||
<ul>
|
||||
<li>"org.eclipse.cdt.build.core.buildArtefactType.exe" - to represent executable
|
||||
<li>"org.eclipse.cdt.build.core.buildArtefactType.staticLib" - to represent static library
|
||||
<li>"org.eclipse.cdt.build.core.buildArtefactType.sharedLib" - to represent shared library
|
||||
<li>ISVs can define their own custom build artifact values by contributing to the org.eclipse.cdt.managedbuilder.core.buildProperties extension point.
|
||||
</ul>
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -109,11 +117,16 @@
|
|||
</element>
|
||||
|
||||
<element name="toolChain">
|
||||
<annotation>
|
||||
<documentation>
|
||||
This element is used to reference an existing toolchain by its unique identifier.
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
The unique identifier of a toolchain contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -147,8 +160,7 @@
|
|||
</extension>
|
||||
</pre>
|
||||
|
||||
For more details on how to define your own templates, please check examples provided under
|
||||
<samp>org.eclipse.cdt.templates</samp>
|
||||
For more details on how to define your own templates, please check examples provided under <samp>org.eclipse.cdt.ui.templateengine</samp>
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue