blob: 6457abbd65f98278ede5c77758aa448999bfe449 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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.&nbsp;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=&quot;org.eclipse.ui.projectNatureImages&quot;&gt;</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=&quot;org.eclipse.ui.javaNatureImage&quot;</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
natureId=&quot;Resource&quot;</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
icon=&quot;icons/javaNature.gif&quot;&gt;</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/image&gt;</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>