blob: d902daafb195b0cb83ec1f1ed34bf43b8030f5e2 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<HTML>
<BODY>
<H1><CENTER>Project Nature Images</CENTER></H1>
<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>
<p><samp>&nbsp;&nbsp; &lt;!ELEMENT extension (image*)&gt;</samp>
<br><br><samp>&nbsp;&nbsp; &lt;!ATTLIST extension</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp; &gt;</samp>
<ul>
<li><b>point</b> - a fully qualified identifier of the target extension point</li><li><b>id</b> - an optional identifier of the extension instance</li><li><b>name</b> - an optional name of the extension instance</li></ul>
<p><samp>&nbsp;&nbsp; &lt;!ELEMENT image (description?)&gt;</samp>
<br><br><samp>&nbsp;&nbsp; &lt;!ATTLIST image</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;natureId&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp; &gt;</samp>
<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>
<p><samp>&nbsp;&nbsp; &lt;!ELEMENT description (#CDATA)&gt;</samp>
<p>&nbsp;&nbsp; a short description of what this image represents.</p>
<b><i>Examples: </i></b>The following is an example of a nature image extension:
<p>
<pre>
&lt;extension point=&quot;org.eclipse.ui.projectNatureImages&quot;&gt;
&lt;image
id=&quot;org.eclipse.ui.javaNatureImage&quot;
natureId=&quot;Resource&quot;
icon=&quot;icons/javaNature.gif&quot;&gt;
&lt;/image&gt;
&lt;/extension&gt;
</pre>
</p><p>
<b><i>API Information: </i></b>The value of the <samp>natureId</samp> attribute is the nature id as defined by the plugin creating the project.<p>
Copyright (c) 2002, 2003 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html<p>
</BODY>
</HTML>