blob: e1c4376feb6fd6530211936893bbcd2e11cedf4f [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="actionSetPartAssociations" name="Action Set Part Associations"/>
</appInfo>
<documentation>
This extension point is used to define an action set which should be added to a perspective when a part (view or editor) is opened in the perspective.
In the case of an editor, the action set will remain visible while the editor is the current editor.
In the case of a view, the action set will be visible when the view is the active part.
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="actionSetPartAssociation" 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="actionSetPartAssociation">
<complexType>
<sequence>
<element ref="part" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="targetID" type="string" use="required">
<annotation>
<documentation>
the unique identifier of the action set (as specified in the
registry) which is to be associated with particular workbench
views and/or editors.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="part">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
the unique identifier of the part (view or editor) to be associated with the action set.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of an action set part association (note the subelement and the way attributes are used):
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.ui.actionSetPartAssociations&quot;&gt;
&lt;actionSetPartAssociation targetID=&quot;org.eclipse.jdt.ui.refactoring.actionSet&quot;&gt;
&lt;part id=&quot;org.eclipse.jdt.ui.PackageExplorer&quot;/&gt;
&lt;part id=&quot;org.eclipse.jdt.ui.CompilationUnitError&quot;/&gt;
&lt;/actionSetPartAssociation&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
In the example above, a view or editor are associated with the refactoring action set.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
The user may override these associations using the customize perspective dialog. Regardless of these associations,
action sets which the user turns off will never appear and action sets which the user turns on will always be visible.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2002, 2007 IBM Corporation and others.&lt;br&gt;
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 &lt;a
href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
</schema>