| <?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="defaultFacets" name="Default Facets Extension Point"/> |
| </appInfo> |
| <documentation> |
| Used to specify which facets (and which versions of those facets) should be selected by default when a runtime that includes the specified runtime component is selected. Multiple extensions referring to the same runtime component (type and version) will be merged. This allows a party not affiliated with the runtime vendor to specify that a certain additional facet should be preselected when the runtime containing the specified runtime component is selected. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <documentation> |
| (no description available) |
| </documentation> |
| </annotation> |
| <complexType> |
| <choice> |
| <element ref="default-facets"/> |
| </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="default-facets"> |
| <annotation> |
| <documentation> |
| Used to specify which facets (and which versions of those facets) should be selected by default when a runtime that includes the specified runtime component is selected. Multiple extensions referring to the same runtime component (type and version) will be merged. This allows a party not affiliated with the runtime vendor to specify that a certain additional facet should be preselected when the runtime containing the specified runtime component is selected. |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="runtime-component"/> |
| <element ref="facet" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <element name="runtime-component"> |
| <annotation> |
| <documentation> |
| Specifies the runtime component type id and version that these defaults are for. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Runtime component type id. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="version" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Specifies the match expression for the runtime component version. The expression should be of the form "2.2,2.5,[3.0-5.3],(7.3", where the comas function as an OR. Brackets and parenthesis are used as part of the range notation. A bracket means inclusive while a parenthesis means exclusive. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="facet"> |
| <annotation> |
| <documentation> |
| Specifies project facet id and version |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The project facet id. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="version" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The project facet version. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| <p>The following example declares facet1 (version 1.3) and facet2 (version 5.0) as default facets for runtime component MyRuntimeComponent.</p> |
| |
| <pre> |
| <extension point="org.eclipse.wst.common.project.facet.core.defaultFacets"> |
| <default-facets> |
| <runtime-component id="MyRuntimeComponent"/> |
| <facet id="facet1" version="1.3"/> |
| <facet id="facet2" version="5.0"/> |
| </default-facets> |
| </extension> |
| </pre> |
| |
| <p>Multiple plugins can contribute to the set of the default facets for a given runtime component. If the following example is combined with the first one, there will be three default facets associated with MyRuntimeComponent.</p> |
| |
| <pre> |
| <extension point="org.eclipse.wst.common.project.facet.core.defaultFacets"> |
| <default-facets> |
| <runtime-component id="MyRuntimeComponent"/> |
| <facet id="facet3" version="1.2"/> |
| </default-facets> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2005-2006 BEA Systems, Inc. and others.<br> |
| 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 <a |
| href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |