<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]"> | |
<title>Eclipse Workbench Extension Point: Project Nature Images</title> | |
</head> | |
<body link="#0000FF" vlink="#800080"> | |
<center> | |
<h1> | |
Project Nature Images</h1></center> | |
<b><i>Identifier: </i></b>org.eclipse.ui.projectNatureImages | |
<p><b><i>Description: </i></b>This extension point is used to associate | |
an image with a project nature. The supplied image is used to form a composite | |
image consisting of the standard project image combined with the image | |
of its nature. The supplied image is drawn over the top right corner of | |
the base image. | |
<p><b><i>Configuration Markup:</i></b> | |
<p><tt> <!ELEMENT image(description?)></tt> | |
<br><tt> <!ATTLIST image</tt> | |
<br><tt> id CDATA | |
#REQUIRED</tt> | |
<br><tt> natureId CDATA #REQUIRED</tt> | |
<br><tt> icon CDATA #REQUIRED</tt> | |
<br><tt> ></tt> | |
<br><tt> <!ELEMENT description (#PCDATA)></tt> | |
<ul> | |
<li> | |
<b>id</b> - a unique name that will be used to identify this nature image.</li> | |
<li> | |
<b>natureId</b> - the unique name of the nature for which the image is | |
being supplied.</li> | |
<li> | |
<b>icon</b> - a relative name of the image that will be associated with | |
this perspective.</li> | |
</ul> | |
<b><i>Examples:</i></b> | |
<p>The following is an example of a nature image extension: | |
<p><tt> <extension</tt> | |
<br><tt> point="org.eclipse.ui.projectNatureImages"></tt> | |
<br><tt> <image</tt> | |
<br><tt> | |
id="org.eclipse.ui.javaNatureImage"</tt> | |
<br><tt> | |
natureId="Resource"</tt> | |
<br><tt> | |
icon="icons/javaNature.gif"></tt> | |
<br><tt> </image></tt> | |
<br><tt> </extension></tt> | |
<p><b><i>API Information: </i></b>The value of the <tt>natureId</tt> attribute | |
is the nature id as defined by the plugin creating the project. | |
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a> | |
</body> | |
</html> |