Project Facet Images Extension Point

org.eclipse.wst.common.project.facet.ui.images

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.

Used for specifying the image that should be used with a facet, a category, or a runtime component type.

<!ELEMENT extension (image*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT image EMPTY>

<!ATTLIST image

facet                  CDATA #IMPLIED

category               CDATA #IMPLIED

runtime-component-type CDATA #IMPLIED

path                   CDATA #REQUIRED>

Specifies the image that should be used with the specified facet, category, or runtime component type. Only one of the facet, category, and runtime-component-type attributes should be used.



The following example associates images with two facets and a category.

<extension point=

"org.eclipse.wst.common.project.facet.ui.images"

>

<image facet=

"facet1"

path=

"icons/facet1.gif"

/>

<image facet=

"facet2"

path=

"icons/facet2.gif"

/>

<image category=

"category1"

path=

"icons/category1.gif"

/>

</extension>