| <!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> <!ELEMENT extension (image*)></samp> |
| <br><br><samp> <!ATTLIST extension</samp> |
| <br><samp> point CDATA #REQUIRED</samp> |
| <br><samp> id CDATA #IMPLIED</samp> |
| <br><samp> name CDATA #IMPLIED</samp> |
| <br><samp> ></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> <!ELEMENT image (description?)></samp> |
| <br><br><samp> <!ATTLIST image</samp> |
| <br><samp> id CDATA #REQUIRED</samp> |
| <br><samp> natureId CDATA #REQUIRED</samp> |
| <br><samp> icon CDATA #REQUIRED</samp> |
| <br><samp> ></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> <!ELEMENT description (#CDATA)></samp> |
| <p> 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> |
| <extension point="org.eclipse.ui.projectNatureImages"> |
| <image |
| id="org.eclipse.ui.javaNatureImage" |
| natureId="Resource" |
| icon="icons/javaNature.gif"> |
| </image> |
| </extension> |
| </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> |