Default Facets Extension Point
Identifier:
org.eclipse.wst.common.project.facet.core.defaultFacets
Since:
This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Description:
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.
Configuration Markup:
<!ELEMENT extension (default-facets)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - A fully qualified identifier of the target extension point.
- id - An optional identifier of the extension instance.
- name - An optional name of the extension instance.
<!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.
- id - Runtime component type id.
- version - 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.
<!ELEMENT facet EMPTY>
<!ATTLIST facet
id CDATA #REQUIRED
version CDATA #REQUIRED>
Specifies project facet id and version
- id - The project facet id.
- version - The project facet version.
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