Wizard Template
Identifier:
com.nokia.carbide.templatewizard.wizardTemplate
Since:
Carbide.c++ 1.2
Description:
The wizard template extension point registers a template with the Carbide.c++ template wizard. Templates may create projects or classes.
Refer to the documentation under Tasks > Creating Wizard Templates for more information.
Configuration Markup:
<!ELEMENT extension (template+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT template EMPTY>
<!ATTLIST template
templateId CDATA #REQUIRED
location CDATA #REQUIRED
wizardId CDATA #REQUIRED
groupLabel CDATA #REQUIRED
filterArguments CDATA #IMPLIED
image CDATA #IMPLIED
extraPagesProvider CDATA #IMPLIED>
The template element registers a single template with the template wizard.
- templateId - The unique id for this template
- location - The plugin-relative path to the template xml file
- wizardId - The id of the wizard in which this template is used
- groupLabel - The group label under which this template will appear in the template choice page of the appropriate template wizard
- filterArguments - The optional wizard-specific data available for the IFilter implementing a filter checkbox, optionally shown in some template wizards
- image - The optional plugin-relative location of a 16x16 pixel image file to use when showing this template in the choose template wizard page
- extraPagesProvider - An optional provider of extra wizard pages
Examples:
<extension point="com.nokia.carbide.templatewizard.wizardTemplate">
<template
templateId="com.nokia.cdt.templates.s60.controlapplication"
location="templates/projecttemplates/S60-ControlApplication/template.xml"
wizardId="com.nokia.carbide.cpp.project.ui.wizards.NewSymbianOSCppProjectWizard"
groupLabel="S60"
filterArguments="S60:1.2;2.0-2.9"
image="icons/icon_S60.png"
/>
</extension>
API Information:
No API implementation is required to provide a basic template. Templates requiring custom processing in code may implement com.nokia.carbide.templatewizard.process.IProcess
Supplied Implementation:
This extension point registers an XML template. Implementation is not required.
Related Information
Creating Wizard Templates