blob: 02c07d29ee3d1a726bcb85b8c0196715bc54e5a1 [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="actionDefinitions" name="Action Definitions"/>
</appInfo>
<documentation>
This extension point is used to register action definitions. Accelerators (see the Accelerator Sets extension point) use action definitions to reference actions. An action associates itself with a given accelerator by registering with that accelerator's associated action definition. An action registers itself with an action definition by calling the setActionDefinitionId(String id) method and supplying the action definition's id as an argument.
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="actionDefinition" 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="actionDefinition">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
a unique name that can be used to identify this action.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
Release 2.0
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
Following is an example of an action definition extension:
&lt;p&gt;
&lt;pre&gt;
&lt;extension point="org.eclipse.ui.actionDefinitions"&gt;
&lt;actionDefinition
id="org.eclipse.ui.file.save"&gt;
&lt;/actionDefinition&gt;
&lt;actionDefinition
id="org.eclipse.ui.file.saveAll"&gt;
&lt;/actionDefinition&gt;
&lt;actionDefinition
id="org.eclipse.ui.file.close"&gt;
&lt;/actionDefinition&gt;
&lt;actionDefinition
id="org.eclipse.ui.file.closeAll"&gt;
&lt;/actionDefinition&gt;
&lt;actionDefinition
id="org.eclipse.ui.file.print"&gt;
&lt;/actionDefinition&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
The methods public void setActionDefinitionId(String id) and public String getActionDefinitionId() have been added to IAction.
&lt;p&gt;
&lt;B&gt;&lt;font color="#FF0000"&gt;NOTE&lt;/font&gt; -&lt;/b&gt; other attributes may be added in the future, as needed.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
The workbench provides many action definitions.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
&lt;p&gt;
Copyright (c) 2002 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>