blob: cb986235ebf64bb26ffd7b4434713265a1ed0954 [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="iconroles" name="Roles"/>
</appInfo>
<documentation>
&lt;p&gt;
The &lt;code&gt;org.eclipse.ui.roles&lt;/code&gt; extension point is used to declare roles and role activity bindings, using the &lt;code&gt;role&lt;/code&gt; and &lt;code&gt;roleActivityBinding&lt;/code&gt; elements respectively.
&lt;/p&gt;
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="role"/>
<element ref="roleActivityBinding"/>
</sequence>
<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>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
A fully qualified identifier of the target extension point.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="role">
<annotation>
<documentation>
This element is used to define roles. If more than one of these elements exist with the same &lt;code&gt;id&lt;/code&gt; attribute, only the last declared element (in order of reading the plugin registry) is considered valid.
</documentation>
</annotation>
<complexType>
<attribute name="description" type="string">
<annotation>
<documentation>
A translatable short description of this role for display in the UI.
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The unique identifier of this role.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
The translatable name of this role for display in the UI.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="roleActivityBinding">
<annotation>
<documentation>
This element allows one to bind roles to activities.
</documentation>
</annotation>
<complexType>
<attribute name="roleId" type="string" use="required">
<annotation>
<documentation>
The unique identifier of the role to bind to an activity.
</documentation>
</annotation>
</attribute>
<attribute name="activityId" type="string" use="required">
<annotation>
<documentation>
The unique identifier of the activity to be bound to a role.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
&lt;p&gt;
3.0
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
&lt;p&gt;
The &lt;code&gt;plugin.xml&lt;/code&gt; file in the &lt;code&gt;org.eclipse.ui&lt;/code&gt; plugin makes use of the &lt;code&gt;org.eclipse.ui.roles&lt;/code&gt; extension point.
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
&lt;p&gt;
There is currently no public API for declaring roles or role activity bindings other than this extension point.
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
&lt;p&gt;
Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
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
&lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;
&lt;/p&gt;
</documentation>
</annotation>
</schema>