<!ELEMENT extension (default-facets)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
(no description available)
<!ELEMENT default-facets (runtime-component , facet+)>
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.
<!ELEMENT runtime-component EMPTY>
<!ATTLIST runtime-component
id CDATA #REQUIRED
version CDATA #REQUIRED>
Specifies the runtime component type id and version that these defaults are for.
<!ELEMENT facet EMPTY>
<!ATTLIST facet
id CDATA #REQUIRED
version CDATA #REQUIRED>
Specifies project facet id and version
The following example declares facet1 (version 1.3) and facet2 (version 5.0) as default facets for runtime component MyRuntimeComponent.
<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>
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.
<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>
Copyright (c) 2005-2006 BEA Systems, Inc. and others.
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 http://www.eclipse.org/legal/epl-v10.html