blob: b289171b4a14844d6ff7adb510b6bf8c7f852a3d [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.wst.common.project.facet.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.wst.common.project.facet.core" id="aliases" name="Project Facet Aliases Extension Point"/>
</appInfo>
<documentation>
Used as part of a migration strategy in order to maintain backwards compatibility when changing the id or the version of a facet. Allows one or more aliases to be defined for facet id or version. Once an alias is defined, it will resolve to the actual facet when it appears in project metadata or is referenced in an API call.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="facet-alias"/>
<element ref="facet-version-alias"/>
</choice>
<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="facet-alias">
<annotation>
<documentation>
Specifies a single facet alias.
</documentation>
</annotation>
<complexType>
<attribute name="facet" type="string" use="required">
<annotation>
<documentation>
The id of an existing facet.
</documentation>
<appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.wst.common.project.facet.core.facets/project-facet/@id"/>
</appInfo>
</annotation>
</attribute>
<attribute name="alias" type="string" use="required">
<annotation>
<documentation>
The alias to assign to the specified facet.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="facet-version-alias">
<annotation>
<documentation>
Specifies a single facet version alias.
</documentation>
</annotation>
<complexType>
<attribute name="facet" type="string" use="required">
<annotation>
<documentation>
The id of an existing facet.
</documentation>
<appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.wst.common.project.facet.core.facets/project-facet/@id"/>
</appInfo>
</annotation>
</attribute>
<attribute name="version" type="string" use="required">
<annotation>
<documentation>
The facet version to alias.
</documentation>
</annotation>
</attribute>
<attribute name="alias" type="string">
<annotation>
<documentation>
The alias to assign to the specified facet version.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.wst.common.project.facet.core.aliases&quot;&gt;
&lt;facet-alias facet=&quot;mytech&quot; alias=&quot;formgen&quot;/&gt;
&lt;facet-version-alias facet=&quot;mytech&quot; version=&quot;1.5&quot; alias=&quot;2.0&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2010 Oracle and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v2.0 which accompanies
this distribution, and is available at &lt;a
href=&quot;https://www.eclipse.org/legal/epl-2.0/
&quot;&gt;https://www.eclipse.org/legal/epl-2.0/
&lt;/a&gt;
</documentation>
</annotation>
</schema>