blob: 22e6db17a0c20dec1476cdcc18a8674d3c52da3a [file] [log] [blame]
<!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>&nbsp;&nbsp; &lt;!ELEMENT image(description?)></tt>
<br><tt>&nbsp;&nbsp; &lt;!ATTLIST image</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp; CDATA
#REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; natureId&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icon&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp; ></tt>
<br><tt>&nbsp;&nbsp; &lt;!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>&nbsp;&nbsp; &lt;extension</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point="org.eclipse.ui.projectNatureImages"></tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
id="org.eclipse.ui.javaNatureImage"</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
natureId="Resource"</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
icon="icons/javaNature.gif"></tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/image></tt>
<br><tt>&nbsp;&nbsp; &lt;/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>