<!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 the Template Engine must extend this extension point, and add the template element.
<!ELEMENT template (toolChain*)>
<!ATTLIST template
location CDATA #REQUIRED
filterPattern CDATA #IMPLIED
pagesAfterTemplateSelectionProvider CDATA #IMPLIED
isCategory (true | false)
projectType CDATA #REQUIRED
id CDATA #IMPLIED>
By adding the template extension point the users can contribute their Template XMLs to the Template Engine plugin.
org.eclipse.cdt.ui.templateengine.IPagesAfterTemplateSelectionProvider
interface to create pages that will be appended to the pages returned fromTemplatesChoiceWizard.getPagesAfterTemplateSelection().
<!ELEMENT toolChain EMPTY>
<!ATTLIST toolChain
id CDATA #REQUIRED>
The toolchain
For more details on how to define your own templates, please check examples provided under org.eclipse.cdt.ui.templateengine<extension
point=
"org.eclipse.cdt.core.templates"
id=
"simpleEXETemplateExample"
name=
"Simple EXE Template Example"
>
<template
filterPattern=
".*"
location=
"templates/SimpleEXE/template.xml"
projectType=
"org.eclipse.cdt.build.core.buildArtefactType.exe"
id=
"com.foobar.templates.myWizardID"
>
</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