| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.ui.ide"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.ui.ide" id="projectNatureImages" name="Project Nature Images"/> |
| </appInfo> |
| <documentation> |
| 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. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="image" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified identifier of the target extension point |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| an optional identifier of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name of the extension instance |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="image"> |
| <complexType> |
| <sequence> |
| <element ref="description" minOccurs="0" maxOccurs="1"/> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique name that will be used to identify this nature image. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="natureId" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the unique name of the nature for which the image is being supplied. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="icon" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a relative name of the image that will be associated with this perspective. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="resource"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="description" type="string"> |
| <annotation> |
| <appInfo> |
| <meta.element translatable="true"/> |
| </appInfo> |
| <documentation> |
| a short description of what this image represents. |
| </documentation> |
| </annotation> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 3.0 (originally added in release 1.0 as org.eclipse.ui.projectNatureImages) |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of a nature image extension: |
| |
| <p> |
| <pre> |
| <extension point="org.eclipse.ui.ide.projectNatureImages"> |
| <image |
| id="org.eclipse.ui.javaNatureImage" |
| natureId="Resource" |
| icon="icons/javaNature.gif"> |
| </image> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| The value of the <samp>natureId</samp> attribute is the nature id as defined by the plugin creating the project. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2002, 2005 IBM Corporation and others.<br> |
| All rights reserved. This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License v1.0 which accompanies |
| this distribution, and is available at <a |
| href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |