<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.ant.ui"> | |
<annotation> | |
<appInfo> | |
<meta.schema plugin="org.eclipse.ant.ui" id="antTemplates" name="Ant Templates"/> | |
</appInfo> | |
<documentation> | |
Allows plug-ins to define Ant templates for use in Ant build files via content assist. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<complexType> | |
<sequence> | |
<element ref="antTemplate" minOccurs="0" maxOccurs="unbounded"/> | |
</sequence> | |
<attribute name="point" type="string" use="required"> | |
<annotation> | |
<documentation> | |
a fully qualified identifier of the target extension point | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="id" type="string"> | |
<annotation> | |
<documentation> | |
an optional identifier of the extension instance | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string"> | |
<annotation> | |
<documentation> | |
an optional name of the extension instance | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="antTemplate"> | |
<annotation> | |
<appInfo> | |
<meta.element labelAttribute="name"/> | |
</appInfo> | |
</annotation> | |
<complexType> | |
<attribute name="name" type="string" use="required"> | |
<annotation> | |
<documentation> | |
The name of the template. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="description" type="string"> | |
<annotation> | |
<documentation> | |
The description of the template | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="pattern" type="string"> | |
<annotation> | |
<documentation> | |
The definition of the template pattern | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appInfo> | |
<meta.section type="since"/> | |
</appInfo> | |
<documentation> | |
3.0 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="examples"/> | |
</appInfo> | |
<documentation> | |
The following is an example of an Ant templates extension point: | |
<p> | |
<pre> | |
<extension point="org.eclipse.ant.ui.antTemplates"> | |
<antTemplate | |
name="fileset" | |
description="%filesetTemplate.description" | |
pattern="<fileset dir="${dir}"> | |
<include name="${pattern}" /> | |
</fileset> | |
"> | |
</antTemplate> | |
</extension> | |
</pre> | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="implementation"/> | |
</appInfo> | |
<documentation> | |
The platform uses this mechanism to provide numerous templates for use via code assist in the Ant editor. | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
<a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2004. All Rights Reserved." BORDER=0 height=12 width=195></a> | |
</documentation> | |
</annotation> | |
</schema> |