<!ELEMENT extension (template+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to Temaplate Engine has to extend this extension point, and add template element.
<!ELEMENT template (toolChain*)>
<!ATTLIST template
location CDATA #REQUIRED
filterPattern CDATA #IMPLIED
usageDescription CDATA #IMPLIED
pagesAfterTemplateSelectionProvider CDATA #IMPLIED
isCategory (true | false)
projectType CDATA #REQUIRED
id CDATA #IMPLIED>
By adding the templates extension point the users can contribute there Template XMLs to the Template Engine plugin.
<!ELEMENT toolChain EMPTY>
<!ATTLIST toolChain
id CDATA #REQUIRED>
For more details on how to define your own templates, please check examples provided under org.eclipse.cdt.templates<extension id=
"simpleEXETemplateExample"
name=
"Simple EXE Template Example"
point=
"org.eclipse.cdt.templateengine.templates"
>
<template filterPattern=
".*"
usageDescription=
"Simple EXE"
location=
"templates/org/eclipse/cdt/templates/projecttemplates/Simple EXE/template.xml"
projectType=
"org.eclipse.cdt.build.projectType.exe"
wizardId=
"org.eclipse.cdt.templates.ui.NewManagedProjectWizard"
>
</template>
</extension>
Copyright (c) 2007 Symbian Software Limited and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Symbian - Initial API and implementation