![JAR search and dependency download from the Maven repository](/logo.png)
schema.templates.exsd Maven / Gradle / Ivy
The newest version!
This extension point registers plug-in project content templates that are used to generate code for the new extensions. Templates are used in two contexts:
<p>
<ul>
<li> One or more templates are combined in a wizard that is contributed as plug-in content wizard using <code>org.eclipse.pde.ui.pluginContent</code> extension point. These templates create interesting content for newly created plug-in projects. In addition, all the templates contributed using this extension point can be seen in a special version of the plug-in content wizard that lists the templates and allows users to freely combine the templates by checking them in the list.</li>
<li> A New extension can be added to an existing plug-in using a template.
</li>
</ul>
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
a unique name that will be used to identify this template.
a translatable name that will be used in UI representation
of this template.
a relative path of an icon that will be used to visually
represent the template.
a fully qualified name of the class that implements <code>org.eclipse.pde.ui.templates.ITemplateSection</code> interface.
the identifier of the extension point that this template will contribute into.
Each template must provide a class that implements <code>org.eclipse.pde.ui.templates.ITemplateSection</code> interface. However, abstract classes that implement the interface and can be extended are available.
2.0
The following is an example of the template registration:
<p>
<pre>
<extension
point="org.eclipse.pde.ui.templates">
<template
contributingId="org.eclipse.ui.actionSets"
name="XYZ Action Set Generator"
class="com.example.xyz.XYZActionSetTemplate"
id="com.example.xyz.ActionSetTemplate">
</template>
</extension>
</pre>
PDE UI contributes a number of templates that create extensions for the most popular extension points like editors, views, preferences etc.
Copyright (c) 2004, 2013 IBM Corporation and others.
<br>
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/
SPDX-License-Identifier: EPL-2.0.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy