blob: 8d5981f2ae0a8c820f0070374e11ec08fae2d687 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.wst.common.project.facet.core">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.wst.common.project.facet.core" id="facets" name="Project Facets Extension Point"/>
</appInfo>
<documentation>
[Enter description of this extension point.]
</documentation>
</annotation>
<element name="extension">
<complexType>
<choice>
<element ref="project-facet"/>
<element ref="project-facet-version"/>
<element ref="category"/>
<element ref="preset"/>
<element ref="template"/>
<element ref="action"/>
</choice>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="label" type="string">
</element>
<element name="description" type="string">
</element>
<element name="icon" type="string">
</element>
<element name="and">
<complexType>
<choice minOccurs="2" maxOccurs="unbounded">
<element ref="and"/>
<element ref="or"/>
<element ref="requires"/>
<element ref="conflicts"/>
</choice>
</complexType>
</element>
<element name="or">
<complexType>
<choice minOccurs="2" maxOccurs="unbounded">
<element ref="and"/>
<element ref="or"/>
<element ref="requires"/>
<element ref="conflicts"/>
</choice>
</complexType>
</element>
<element name="requires">
<complexType>
<attribute name="facet" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="version" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="allow-newer" type="boolean">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="soft" type="boolean">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="conflicts">
<complexType>
<attribute name="group" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="constraint">
<complexType>
<choice>
<element ref="and"/>
<element ref="or"/>
<element ref="requires"/>
<element ref="conflicts"/>
</choice>
</complexType>
</element>
<element name="group-member">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="project-facet">
<complexType>
<sequence>
<element ref="label"/>
<element ref="description" minOccurs="0" maxOccurs="1"/>
<element ref="icon" minOccurs="0" maxOccurs="1"/>
<element ref="version-comparator" minOccurs="0" maxOccurs="1"/>
<element name="category" type="string">
</element>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="project-facet-version">
<complexType>
<sequence>
<element ref="constraint" minOccurs="0" maxOccurs="1"/>
<element ref="group-member" minOccurs="0" maxOccurs="unbounded"/>
<element ref="action" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="facet" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="version" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="version-comparator">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="category">
<complexType>
<sequence>
<element ref="label"/>
<element ref="description" minOccurs="0" maxOccurs="1"/>
<element ref="icon" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="preset">
<complexType>
<sequence>
<element ref="label"/>
<element name="facet">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="version" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="template">
<complexType>
<sequence>
<element ref="label"/>
<element name="fixed">
<complexType>
<attribute name="facet" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="preset">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="action">
<complexType>
<all>
<element ref="config-factory" minOccurs="0" maxOccurs="1"/>
<element ref="delegate"/>
</all>
<attribute name="type" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="install">
</enumeration>
<enumeration value="uninstall">
</enumeration>
<enumeration value="version-change">
</enumeration>
<enumeration value="runtime-changed">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="facet" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="version" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="config-factory">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="delegate">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
[Enter the first release in which this extension point appears.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
</documentation>
</annotation>
</schema>