blob: 0af038e5b8c79147830aaefeee0f11b7a9e337cd [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" 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>
</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>
<documentation>
a short description of what this image represents.
</documentation>
</annotation>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of a nature image extension:
&lt;p&gt;
&lt;pre&gt;
&lt;extension point="org.eclipse.ui.projectNatureImages"&gt;
&lt;image
id="org.eclipse.ui.javaNatureImage"
natureId="Resource"
icon="icons/javaNature.gif"&gt;
&lt;/image&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
The value of the &lt;samp&gt;natureId&lt;/samp&gt; 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, 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
</documentation>
</annotation>
</schema>