Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Sternberg2010-12-28 14:48:03 +0000
committerRalf Sternberg2010-12-28 14:48:03 +0000
commitadabffc3369e5ed8b02bb3eace6bb2251c6869eb (patch)
tree90860919531d7dffb0808cdf98002bf394658bde /bundles/org.eclipse.rap.ui/schema
parente145627f531873c2fdff800d87a5c383b38194b8 (diff)
downloadorg.eclipse.rap-adabffc3369e5ed8b02bb3eace6bb2251c6869eb.tar.gz
org.eclipse.rap-adabffc3369e5ed8b02bb3eace6bb2251c6869eb.tar.xz
org.eclipse.rap-adabffc3369e5ed8b02bb3eace6bb2251c6869eb.zip
Fixed bug 309661: Update workbench code to Indigo (3.7)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309661
Diffstat (limited to 'bundles/org.eclipse.rap.ui/schema')
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/acceleratorConfigurations.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/acceleratorScopes.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/acceleratorSets.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/actionDefinitions.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/actionSets.exsd86
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/bindings.exsd148
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/commandImages.exsd54
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/commands.exsd10
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/commonAction.exsd77
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/commonExpression.exsd30
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/contexts.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/decorators.exsd5
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/editorActions.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/editors.exsd70
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/encodings.exsd40
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/exportWizards.exsd89
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/fontDefinitions.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/helpSupport.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/importWizards.exsd90
-rw-r--r--bundles/org.eclipse.rap.ui/schema/installationPages.exsd151
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/intro.exsd15
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/keywords.exsd17
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/menus.exsd261
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/newWizards.exsd95
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/perspectiveExtensions.exsd98
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/popupMenus.exsd268
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/preferenceTransfer.exsd47
-rw-r--r--bundles/org.eclipse.rap.ui/schema/propertiesView.exsd111
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/services.exsd3
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/startup.exsd2
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/statusHandlers.exsd47
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/systemSummarySections.exsd13
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/themes.exsd3
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/viewActions.exsd24
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/views.exsd3
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/workingSets.exsd2
36 files changed, 1175 insertions, 700 deletions
diff --git a/bundles/org.eclipse.rap.ui/schema/acceleratorConfigurations.exsd b/bundles/org.eclipse.rap.ui/schema/acceleratorConfigurations.exsd
index 74dfe4bb65..2b6b0a003c 100755
--- a/bundles/org.eclipse.rap.ui/schema/acceleratorConfigurations.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/acceleratorConfigurations.exsd
@@ -100,7 +100,7 @@ Note the accelerator configuration name presented to the user is the same as the
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/acceleratorScopes.exsd b/bundles/org.eclipse.rap.ui/schema/acceleratorScopes.exsd
index 1a6e6a7870..f387b16d9b 100755
--- a/bundles/org.eclipse.rap.ui/schema/acceleratorScopes.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/acceleratorScopes.exsd
@@ -103,7 +103,7 @@ An accelerator set declares what scope it is applicable for by listing the scope
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/acceleratorSets.exsd b/bundles/org.eclipse.rap.ui/schema/acceleratorSets.exsd
index 50bb681150..3522fe8484 100755
--- a/bundles/org.eclipse.rap.ui/schema/acceleratorSets.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/acceleratorSets.exsd
@@ -131,7 +131,7 @@ An accelerator set is registered with an accelerator configuration (see the Acce
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/actionDefinitions.exsd b/bundles/org.eclipse.rap.ui/schema/actionDefinitions.exsd
index 6c42025655..2cc0864352 100755
--- a/bundles/org.eclipse.rap.ui/schema/actionDefinitions.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/actionDefinitions.exsd
@@ -94,7 +94,7 @@ This extension point is used to register action definitions. Accelerators (see t
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/actionSets.exsd b/bundles/org.eclipse.rap.ui/schema/actionSets.exsd
index 16a060df40..93470c7283 100755
--- a/bundles/org.eclipse.rap.ui/schema/actionSets.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/actionSets.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="actionSets" name="Action Sets"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
This extension point is used to add menus, menu items
@@ -27,6 +27,11 @@ There is an implementation limitation which currently affects action sets. It i
<include schemaLocation="commonExpression.exsd"/>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="actionSet" minOccurs="1" maxOccurs="unbounded"/>
@@ -50,9 +55,9 @@ There is an implementation limitation which currently affects action sets. It i
<documentation>
an optional name of the extension instance
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -81,9 +86,9 @@ There is an implementation limitation which currently affects action sets. It i
<documentation>
a translatable name used by the Workbench to represent this action set to the user.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="visible" type="boolean">
@@ -98,9 +103,9 @@ There is an implementation limitation which currently affects action sets. It i
<documentation>
a translatable description used by the Workbench to represent this action set to the user.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -132,20 +137,20 @@ There is an implementation limitation which currently affects action sets. It i
<documentation>
a translatable name used either as the menu item text or toolbar button label. The name can include mnenomic information.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<!-- RAP [bm] not used
<attribute name="accelerator" type="string">
<annotation>
<documentation>
- &lt;b&gt;&lt;font color=&quot;#FF0000&quot;&gt;Deprecated:&lt;/font&gt;&lt;/b&gt; Use the &lt;samp&gt;definitionId&lt;/samp&gt; attribute instead.
+ Use the &lt;samp&gt;definitionId&lt;/samp&gt; attribute instead.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute deprecated="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
-->
@@ -154,9 +159,9 @@ There is an implementation limitation which currently affects action sets. It i
<documentation>
Specifies the command that this action will handle. By specifying and action, the key binding service can assign a key sequence to this action. See the extension point &lt;a href=&quot;org_eclipse_ui_commands.html&quot;&gt;org.eclipse.ui.commands&lt;/a&gt; for more information.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="menubarPath" type="string">
@@ -179,11 +184,11 @@ If toolbarPath is omitted, the action will not appear in the toolbar.
<annotation>
<documentation>
a relative path of an icon used to visually represent the action in its context.
-If omitted and the action appears in the toolbar, the Workbench will use a placeholder icon. The path is relative to the location of the plugin.xml file of the contributing plug-in. The icon will appear in toolbars but not in menus. Enabled actions will be represented in menus by the hoverIcon.
+If omitted and the action appears in the toolbar, the Workbench will use a placeholder icon. The path is relative to the location of the plugin.xml file of the contributing plug-in, or the &lt;code&gt;ISharedImages&lt;/code&gt; constant. The icon will appear in toolbars but not in menus. Enabled actions will be represented in menus by the hoverIcon.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<!-- RAP [bm] not used
@@ -192,9 +197,9 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
a relative path of an icon used to visually represent the action in its context when the action is disabled. If omitted, the normal icon will simply appear greyed out. The path is relative to the location of the plugin.xml file of the contributing plug-in. The disabled icon will appear in toolbars but not in menus. Icons for disabled actions in menus will be supplied by the OS.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="hoverIcon" type="string">
@@ -202,9 +207,9 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
a relative path of an icon used to visually represent the action in its context when the mouse pointer is over the action. If omitted, the normal icon will be used. The path is relative to the location of the plugin.xml file of the contributing plug-in.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
-->
@@ -213,9 +218,9 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
a translatable text representing the action&apos;s tool tip. Only used if the action appears in the toolbar.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<!-- RAP [bm] not used
@@ -278,11 +283,11 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<attribute name="pulldown" type="boolean">
<annotation>
<documentation>
- &lt;b&gt;&lt;font color=&quot;#FF0000&quot;&gt;Deprecated:&lt;/font&gt;&lt;/b&gt; Use the &lt;samp&gt;style&lt;/samp&gt; attribute with the value &lt;samp&gt;pulldown&lt;/samp&gt;.
+ Use the &lt;samp&gt;style&lt;/samp&gt; attribute with the value &lt;samp&gt;pulldown&lt;/samp&gt;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute deprecated="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="class" type="string">
@@ -290,15 +295,15 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
a fully qualified name of a class which implements &lt;samp&gt;org.eclipse.ui.IWorkbenchWindowActionDelegate&lt;/samp&gt; or &lt;samp&gt;org.eclipse.ui.IWorkbenchWindowPulldownDelegate&lt;/samp&gt;. The latter should be implemented in cases where the &lt;samp&gt;style&lt;/samp&gt; attribute has the value &lt;samp&gt;pulldown&lt;/samp&gt;. This class is the handler responsible for performing the action. If the &lt;samp&gt;retarget&lt;/samp&gt; attribute is true, this attribute is ignored and should not be supplied.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.IWorkbenchWindowActionDelegate"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="retarget" type="boolean">
<annotation>
<documentation>
- an optional attribute to retarget this action. When true, view and editor parts may supply a handler for this action using the standard mechanism for setting a global action handler on their site using this action&apos;s identifier. If this attribute is true, the &lt;samp&gt;class&lt;/samp&gt; attribute should not be supplied.
+ an optional attribute to retarget this action. When true, view and editor parts may supply a handler for this action using the standard mechanism for setting a global action handler on their site using this action&apos;s identifier. If this attribute is true, the &lt;samp&gt;class&lt;/samp&gt; attribute should not be supplied. &lt;br&gt;&lt;b&gt;Note:&lt;/b&gt;The combination of &lt;code&gt;pulldown&lt;/code&gt; and &lt;code&gt;retarget&lt;/code&gt; is not supported. Commands can be used to provide this type of functionality, see &lt;a href=&quot;org_eclipse_ui_menus.html&quot;&gt;org.eclipse.ui.menus&lt;/a&gt; and the command element with a style of &lt;code&gt;pulldown&lt;/code&gt;.
</documentation>
</annotation>
</attribute>
@@ -405,18 +410,18 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
A class that implements &lt;code&gt;org.eclipse.ui.IWorkbenchWindowActionDelegate&lt;/code&gt;. It may also implement &lt;code&gt;org.eclipse.core.runtime.IExecutableExtension&lt;/code&gt;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of an action set (note
the sub-elements and the way attributes are used):
@@ -522,9 +527,9 @@ The actions DEF, GHI, and JKL appear as radio button menu items. They are enable
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
The value of the class attribute must be the fully qualified name of a class that implements &lt;samp&gt;org.eclipse.ui.IWorkbenchWindowActionDelegate&lt;/samp&gt; or &lt;samp&gt;org.eclipse.ui.IWorkbenchWindowPulldownDelegate&lt;/samp&gt;. The latter should be implemented in cases where the &lt;samp&gt;style&lt;/samp&gt; attribute has the value &lt;samp&gt;pulldown&lt;/samp&gt;. This class is the handler responsible for performing the action. If the &lt;samp&gt;retarget&lt;/samp&gt; attribute is true, this attribute is ignored and should not be supplied. This class is loaded as late as possible to avoid loading the entire plug-in before it is really needed.
&lt;p&gt;
@@ -559,11 +564,10 @@ can be expressed using:
</annotation>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
Plug-ins may use this extension point to add new top level menus. Plug-ins can also define named groups which allow other plug-ins to contribute their actions into them.
&lt;p&gt;
@@ -595,9 +599,9 @@ extensions are also added automatically to the window.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2000, 2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/bindings.exsd b/bundles/org.eclipse.rap.ui/schema/bindings.exsd
index 7a73a99ecd..d20b3fb965 100755
--- a/bundles/org.eclipse.rap.ui/schema/bindings.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/bindings.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="bindings" name="Bindings"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
The &lt;code&gt;org.eclipse.ui.bindings&lt;/code&gt; extension point is used to declare bindings and schemes. Schemes are sets of one or more bindings. A binding is a mapping between a certain group of conditions, some user input and a triggered command.
@@ -25,10 +25,16 @@ A scheme is a group of these bindings into a set that the end user can select.
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="scheme" minOccurs="0" maxOccurs="unbounded"/>
<element ref="key" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="sequenceModifier" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
@@ -49,9 +55,9 @@ A scheme is a group of these bindings into a set that the end user can select.
<documentation>
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -59,9 +65,9 @@ A scheme is a group of these bindings into a set that the end user can select.
<element name="scheme">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="name"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
A scheme is a grouping of bindings that an end user can chose to use.
@@ -84,9 +90,9 @@ It is possible for schemes to inherit bindings from a parent scheme. This is in
<documentation>
The name for this scheme, as it should be displayed to an end-user. This value should be translated.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="description" type="string">
@@ -94,9 +100,9 @@ It is possible for schemes to inherit bindings from a parent scheme. This is in
<documentation>
The description for this scheme, as it would be displayed to an end user. This value should be translated.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="parentId" type="string">
@@ -104,9 +110,9 @@ It is possible for schemes to inherit bindings from a parent scheme. This is in
<documentation>
The identifier for the parent of this scheme. If there is no parent, then do not specify this attribute.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.bindings/scheme/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -114,9 +120,9 @@ It is possible for schemes to inherit bindings from a parent scheme. This is in
<element name="key">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="commandId"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;A binding between some keyboard input and the triggering of a command.&lt;/p&gt;
</documentation>
@@ -152,9 +158,9 @@ It is also strongly recommended that you keep the key sequences short. One or t
<documentation>
The identifier of the scheme in which this key binding is active.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.bindings/scheme/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="contextId" type="string" use="default" value="org.eclipse.ui.contexts.window">
@@ -162,9 +168,9 @@ It is also strongly recommended that you keep the key sequences short. One or t
<documentation>
The identifier of the context in which this key binding is active. Please see the &lt;code&gt;org.eclipse.ui.contexts&lt;/code&gt; extension point. If this is not specified, then it defaults to &lt;code&gt;org.eclipse.ui.contexts.window&lt;/code&gt;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.contexts/context/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="commandId" type="string">
@@ -177,9 +183,9 @@ The identifier of the command which should be executed when this binding is trig
If no command identifier is specified, this is a deletion marker. This means that any binding in the same context with the same sequence, platform and locale will become inactive when this binding becomes active. If the platform or locale on a deletion is not specified, then it matches any platform or locale.
&lt;/p&gt;
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="platform" type="string">
@@ -201,9 +207,9 @@ If no command identifier is specified, this is a deletion marker. This means th
<element name="parameter">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="id"/>
- </appinfo>
+ </appInfo>
<documentation>
A parameter name and value that should be passed to the command when it is executed. This allows for the command to be qualified in some way. For example, a &quot;Show View&quot; command might accept the view id as a parameter.
</documentation>
@@ -214,9 +220,9 @@ If no command identifier is specified, this is a deletion marker. This means th
<documentation>
The parameter name as understood by the command. This is not a translatable name, but the key to name-value map.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/commandParameter/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="value" type="string">
@@ -229,29 +235,93 @@ If no command identifier is specified, this is a deletion marker. This means th
</complexType>
</element>
+ <element name="sequenceModifier">
+ <annotation>
+ <documentation>
+ Sequence Modifiers transform the key bindings on this extension. If a keybinding defined in this extension starts with the &apos;find&apos; string, it will replace that portion with the &apos;replace&apos; string. This replacement happens either if the platform in the keybinding is one of the platform in the &apos;platforms&apos; or the platform in keybinding is not specified, but the current platform is one of the platform specified in &apos;platforms&apos;
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="find" type="string" use="required">
+ <annotation>
+ <documentation>
+ &lt;p&gt;
+The key sequence that has to be replaced. This key sequence should consist of one or more modifier keys without the actual key. The keys are separated by the &lt;code&gt;+&lt;/code&gt; character.
+&lt;/p&gt;
+&lt;p&gt;
+The recognized modifiers keys are &lt;code&gt;M1&lt;/code&gt;, &lt;code&gt;M2&lt;/code&gt;, &lt;code&gt;M3&lt;/code&gt;, &lt;code&gt;M4&lt;/code&gt;, &lt;code&gt;ALT&lt;/code&gt;, &lt;code&gt;COMMAND&lt;/code&gt;, &lt;code&gt;CTRL&lt;/code&gt;, and &lt;code&gt;SHIFT&lt;/code&gt;. The &quot;M&quot; modifier keys are a platform-independent way of representing keys, and these are generally preferred. &lt;code&gt;M1&lt;/code&gt; is the &lt;code&gt;COMMAND&lt;/code&gt; key on MacOS X, and the &lt;code&gt;CTRL&lt;/code&gt; key on most other platforms. &lt;code&gt;M2&lt;/code&gt; is the &lt;code&gt;SHIFT&lt;/code&gt; key. &lt;code&gt;M3&lt;/code&gt; is the &lt;code&gt;Option&lt;/code&gt; key on MacOS X, and the &lt;code&gt;ALT&lt;/code&gt; key on most other platforms. &lt;code&gt;M4&lt;/code&gt; is the &lt;code&gt;CTRL&lt;/code&gt; key on MacOS X, and is undefined on other platforms.
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="replace" type="string" use="required">
+ <annotation>
+ <documentation>
+ &lt;p&gt;
+The key sequence that will be replaced with. This key sequence should consist of one or more modifier keys without the actual key. The keys are separated by the &lt;code&gt;+&lt;/code&gt; character.
+&lt;/p&gt;
+&lt;p&gt;
+The recognized modifiers keys are &lt;code&gt;M1&lt;/code&gt;, &lt;code&gt;M2&lt;/code&gt;, &lt;code&gt;M3&lt;/code&gt;, &lt;code&gt;M4&lt;/code&gt;, &lt;code&gt;ALT&lt;/code&gt;, &lt;code&gt;COMMAND&lt;/code&gt;, &lt;code&gt;CTRL&lt;/code&gt;, and &lt;code&gt;SHIFT&lt;/code&gt;. The &quot;M&quot; modifier keys are a platform-independent way of representing keys, and these are generally preferred. &lt;code&gt;M1&lt;/code&gt; is the &lt;code&gt;COMMAND&lt;/code&gt; key on MacOS X, and the &lt;code&gt;CTRL&lt;/code&gt; key on most other platforms. &lt;code&gt;M2&lt;/code&gt; is the &lt;code&gt;SHIFT&lt;/code&gt; key. &lt;code&gt;M3&lt;/code&gt; is the &lt;code&gt;Option&lt;/code&gt; key on MacOS X, and the &lt;code&gt;ALT&lt;/code&gt; key on most other platforms. &lt;code&gt;M4&lt;/code&gt; is the &lt;code&gt;CTRL&lt;/code&gt; key on MacOS X, and is undefined on other platforms.
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="platforms" type="string" use="required">
+ <annotation>
+ <documentation>
+ A comma seperated value of the platforms for which the modifier to be applied on . The individual platform string should be specified in the same way as the string from &lt;code&gt;SWT.getPlatform()&lt;/code&gt;. For example, the following strings are considered valid for a platform: &lt;code&gt;win32&lt;/code&gt;, &lt;code&gt;gtk&lt;/code&gt;, &lt;code&gt;motif&lt;/code&gt;, &lt;code&gt;carbon&lt;/code&gt; and &lt;code&gt;photon&lt;/code&gt;.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ &lt;p&gt;
+There is no public API for defining bindings. To try to achieve stability for the user, bindings are only defined through the extension points. If you are an RCP application, you should be able to override this behaviour in the &lt;code&gt;WorkbenchAdvisor&lt;/code&gt;.
+&lt;/p&gt;
+&lt;p&gt;
+For bindings to work, you must have defined a &lt;a href=&quot;org_eclipse_ui_commands.html&quot;&gt;command&lt;/a&gt;. For the binding to work, the command must have an active &lt;a href=&quot;org_eclipse_ui_handlers.html&quot;&gt;handler&lt;/a&gt;. Handlers can be registered programmatically; please see the &lt;a href=&quot;org_eclipse_ui_handlers.html&quot;&gt;org.eclipse.ui.handlers&lt;/a&gt; extension point.
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="since"/>
- </appinfo>
+ </appInfo>
<documentation>
3.1
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.ui.bindings&quot;&gt;
+ &lt;sequenceModifier
+ find=&quot;M1+M2&quot;
+ replace=&quot;M2+M3&quot;
+ platforms=&quot;cocoa,carbon&quot; /&gt;
&lt;key
sequence=&quot;M2+F5&quot;
commandId=&quot;example.commandId&quot;
schemeId=&quot;org.eclipse.ui.defaultAcceleratorConfiguration&quot;
contextId=&quot;org.eclipse.ui.contexts.dialog&quot; /&gt;
&lt;key
+ sequence=&quot;M1+M2+8&quot;
+ commandId=&quot;another.example.commandId&quot;
+ schemeId=&quot;org.eclipse.ui.defaultAcceleratorConfiguration&quot;
+ contextId=&quot;org.eclipse.ui.contexts.window&quot; /&gt;
+ &lt;key
sequence=&quot;M2+F7&quot;
commandId=&quot;other.commandId&quot;
schemeId=&quot;default.id&quot;
@@ -262,31 +332,19 @@ If no command identifier is specified, this is a deletion marker. This means th
id=&quot;default.id&quot; /&gt;
&lt;/extension&gt;
&lt;/pre&gt;
- </documentation>
- </annotation>
- <annotation>
- <appinfo>
- <meta.section type="apiInfo"/>
- </appinfo>
- <documentation>
- &lt;p&gt;
-There is no public API for defining bindings. To try to achieve stability for the user, bindings are only defined through the extension points. If you are an RCP application, you should be able to override this behaviour in the &lt;code&gt;WorkbenchAdvisor&lt;/code&gt;.
-&lt;/p&gt;
-&lt;p&gt;
-For bindings to work, you must have defined a &lt;a href=&quot;org_eclipse_ui_commands.html&quot;&gt;command&lt;/a&gt;. For the binding to work, the command must have an active &lt;a href=&quot;org_eclipse_ui_handlers.html&quot;&gt;handler&lt;/a&gt;. Handlers can be registered programmatically; please see the &lt;a href=&quot;org_eclipse_ui_handlers.html&quot;&gt;org.eclipse.ui.handlers&lt;/a&gt; extension point.
-&lt;/p&gt;
+In this example, on win32 &lt;code&gt;another.example.commandId&lt;/code&gt; would be bound to &lt;b&gt;M1+M2+8&lt;/b&gt;, but on cocoa it would be bound to &lt;b&gt;M2+M3+8&lt;/b&gt;.
+
</documentation>
</annotation>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
- Copyright (c) 2005,2007 IBM Corporation and others.&lt;br&gt;
+ Copyright (c) 2005,2009 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
diff --git a/bundles/org.eclipse.rap.ui/schema/commandImages.exsd b/bundles/org.eclipse.rap.ui/schema/commandImages.exsd
index 8caf6796be..c8e6064da9 100755
--- a/bundles/org.eclipse.rap.ui/schema/commandImages.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/commandImages.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="commandImages" name="Command Images"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
The images extension point provides a way of linking different types of images and icons to a particular command. These images can be used, as appropriate, wherever the command appears in the user interface. To accommodate some boundary cases (e.g., tool bar drop-down items), it is possible to group the images for a particular commands into &quot;styles&quot;. These styles can then be specifically requested when a command is to be displayed.
@@ -16,6 +16,11 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="image" minOccurs="0" maxOccurs="unbounded"/>
@@ -39,9 +44,9 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
<documentation>
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -49,9 +54,9 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
<element name="image">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="commandId"/>
- </appinfo>
+ </appInfo>
<documentation>
The images to associate with a particular command.
</documentation>
@@ -62,30 +67,29 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
<documentation>
The identifier of the command with which the images should be associated.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="icon" type="string" use="required">
<annotation>
<documentation>
- The path to the icon which should be used in the default case. This will appear when the icon is enabled and mouse is not hovering over it. It will also be used in any situation where such a more specific icon is not available.
+ The path to the icon which should be used in the default case, or the &lt;code&gt;ISharedImages&lt;/code&gt; constant. This will appear when the icon is enabled and mouse is not hovering over it. It will also be used in any situation where such a more specific icon is not available.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
- <!-- RAP [bm] not used
<attribute name="disabledIcon" type="string">
<annotation>
<documentation>
The icon to display when the command is disabled.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="hoverIcon" type="string">
@@ -93,12 +97,11 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
<documentation>
The icon to display when the user is hovering over the command.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
- -->
<attribute name="style" type="string">
<annotation>
<documentation>
@@ -110,18 +113,18 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="since"/>
- </appinfo>
+ </appInfo>
<documentation>
3.2
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;pre&gt;
&lt;extension
@@ -143,9 +146,9 @@ Commands placed in menus using the &lt;a href=&quot;org_eclipse_ui_menus.html&qu
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
Within the workbench, it is possible to get images for commands using the &lt;code&gt;org.eclipse.ui.commands.ICommandImageService&lt;/code&gt; interface. This interface can be retrieved from supporting workbench objects, such as &lt;code&gt;IWorkbench&lt;/code&gt; itself, the &lt;code&gt;IWorkbenchWindow&lt;/code&gt;, or the &lt;code&gt;IWorkbenchPartSite&lt;/code&gt;. To retrieve the service, you would make a call like &lt;code&gt;workbench.getService(ICommandImageService.class)&lt;/code&gt;.
@@ -154,11 +157,10 @@ Within the workbench, it is possible to get images for commands using the &lt;co
</annotation>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2005,2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/commands.exsd b/bundles/org.eclipse.rap.ui/schema/commands.exsd
index 7172e4bc68..5efcde59b7 100755
--- a/bundles/org.eclipse.rap.ui/schema/commands.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/commands.exsd
@@ -141,7 +141,6 @@ The id of a &lt;code&gt;commandParameterType&lt;/code&gt; indicating the type of
</appinfo>
</annotation>
</attribute>
- <!-- RAP [bm] not used
<attribute name="helpContextId" type="string">
<annotation>
<documentation>
@@ -152,7 +151,6 @@ The identifier of the help context that relates to this command in general. Han
</documentation>
</annotation>
</attribute>
- -->
</complexType>
</element>
@@ -405,10 +403,10 @@ State information shared between all handlers, and potentially persisted between
<attribute name="class" type="string">
<annotation>
<documentation>
- The class that can be loaded to store the state of this command. State is shared amongst handlers, and can be persisted between sessions. This class must implement &lt;code&gt;org.eclipse.core.commands.State&lt;/code&gt;. Please see API Information.
+ The class that can be loaded to store the state of this command. State is shared amongst handlers, and can be persisted between sessions. This class must subclass &lt;code&gt;org.eclipse.core.commands.State&lt;/code&gt;. Please see API Information.
</documentation>
<appinfo>
- <meta.attribute kind="java"/>
+ <meta.attribute kind="java" basedOn="org.eclipse.core.commands.State"/>
</appinfo>
</annotation>
</attribute>
@@ -792,7 +790,7 @@ This element has been replaced with a preference. If your application needs to
<documentation>
&lt;p&gt;The key sequence to assign to the command. Key sequences consist of one or more key strokes, where a key stroke consists of a key on the keyboard, optionally pressed in combination with one or more of the following modifiers: Ctrl, Alt, Shift, and Command. Key strokes are separated by spaces, and modifiers are separated by &apos;+&apos; characters.&lt;/p&gt;
&lt;p&gt;The modifier keys can also be expressed in a platform-independent way. On MacOS X, for example, &quot;Command&quot; is almost always used in place of &quot;Ctrl&quot;. So, we provide &quot;M1&quot; which will map to either &quot;Ctrl&quot; or &quot;Command&quot;, as appropriate. Similarly, &quot;M2&quot; is &quot;Shift&quot;; &quot;M3&quot; is &quot;Alt&quot;; and &quot;M4&quot; is &quot;Ctrl&quot; (MacOS X). If more platforms are added, then you can count on these aliases being mapped to good platform defaults.&lt;/p&gt;
-&lt;p&gt;The syntax for this string is defined in &lt;code&gt;org.eclipse.ui.internal.keys&lt;/code&gt;. Briefly, the string is case insensitive - though all capitals is preferred stylistically. If the key is a letter, then simply append the letter. If the key is a special key (i.e., non-ASCII), then use one of the following: ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BREAK, CAPS_LOCK, END, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, HOME, INSERT, NUM_LOCK, NUMPAD_0, NUMPAD_1, NUMPAD_2, NUMPAD_3, NUMPAD_4, NUMPAD_5, NUMPAD_6, NUMPAD_7, NUMPAD_8, NUMPAD_9, NUMPAD_ADD, NUMPAD_DECIMAL, NUMPAD_DIVIDE, NUMPAD_ENTER, NUMPAD_EQUAL, NUMPAD_MULTIPLY, NUMPAD_SUBTRACT, PAGE_UP, PAGE_DOWN, PAUSE, PRINT_SCREEN, or SCROLL_LOCK. If the key is a non-printable ASCII key, then use one of the following: BS, CR, DEL, ESC, FF, LF, NUL, SPACE, TAB, or VT. Note that the main keyboard enter/return key is CR.&lt;/p&gt;
+&lt;p&gt;The syntax for this string is defined in &lt;code&gt;org.eclipse.ui.internal.keys&lt;/code&gt;. Briefly, the string is case insensitive - - though all capitals is preferred stylistically. If the key is a letter, then simply append the letter. If the key is a special key (i.e., non-ASCII), then use one of the following: ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BREAK, CAPS_LOCK, END, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, HOME, INSERT, NUM_LOCK, NUMPAD_0, NUMPAD_1, NUMPAD_2, NUMPAD_3, NUMPAD_4, NUMPAD_5, NUMPAD_6, NUMPAD_7, NUMPAD_8, NUMPAD_9, NUMPAD_ADD, NUMPAD_DECIMAL, NUMPAD_DIVIDE, NUMPAD_ENTER, NUMPAD_EQUAL, NUMPAD_MULTIPLY, NUMPAD_SUBTRACT, PAGE_UP, PAGE_DOWN, PAUSE, PRINT_SCREEN, or SCROLL_LOCK. If the key is a non-printable ASCII key, then use one of the following: BS, CR, DEL, ESC, FF, LF, NUL, SPACE, TAB, or VT. Note that the main keyboard enter/return key is CR.&lt;/p&gt;
</documentation>
<appinfo>
<meta.attribute deprecated="true"/>
@@ -807,9 +805,7 @@ This element has been replaced with a preference. If your application needs to
<meta.section type="since"/>
</appinfo>
<documentation>
- &lt;p&gt;
2.1
-&lt;/p&gt;
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/commonAction.exsd b/bundles/org.eclipse.rap.ui/schema/commonAction.exsd
index 84951290d4..425a098eb5 100755
--- a/bundles/org.eclipse.rap.ui/schema/commonAction.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/commonAction.exsd
@@ -1,10 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appInfo>
+ <appinfo>
<meta.schema plugin="org.eclipse.ui" id="commonAction" name="Common Action"/>
- </appInfo>
+ </appinfo>
<documentation>
</documentation>
@@ -12,9 +12,9 @@
<element name="menu">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="label"/>
- </appInfo>
+ </appinfo>
<documentation>
This element is used to defined a new menu.
</documentation>
@@ -36,9 +36,9 @@
<documentation>
a translatable name used by the Workbench for this new menu. The name should include mnemonic information.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute translatable="true"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="path" type="string">
@@ -48,14 +48,25 @@
</documentation>
</annotation>
</attribute>
+ <attribute name="icon" type="string">
+ <annotation>
+ <documentation>
+ a relative path of an icon used to visually represent the menu in its context.
+The path is relative to the location of the plugin.xml file of the contributing plug-in.
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="resource"/>
+ </appinfo>
+ </annotation>
+ </attribute>
</complexType>
</element>
<element name="separator">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="name"/>
- </appInfo>
+ </appinfo>
<documentation>
This element is used to create a menu separator in the new menu.
</documentation>
@@ -73,9 +84,9 @@
<element name="groupMarker">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="name"/>
- </appInfo>
+ </appinfo>
<documentation>
This element is used to create a named group in the new menu. It has no visual representation in the new menu, unlike the &lt;samp&gt;separator&lt;/samp&gt; element.
</documentation>
@@ -93,9 +104,9 @@
<element name="selection">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="class"/>
- </appInfo>
+ </appinfo>
<documentation>
This element is used to help determine the action enablement based on the current selection. Ignored if the &lt;samp&gt;enablement&lt;/samp&gt; element is specified.
</documentation>
@@ -106,9 +117,9 @@
<documentation>
a fully qualified name of the class or interface that each object in the selection must implement in order to enable the action.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute kind="java" basedOn="java.lang.Object"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="name" type="string">
@@ -121,46 +132,14 @@
</complexType>
</element>
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="copyright"/>
- </appInfo>
+ </appinfo>
<documentation>
Copyright (c) 2000, 2006 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/commonExpression.exsd b/bundles/org.eclipse.rap.ui/schema/commonExpression.exsd
index 7ef94fffa4..fd05a267f4 100755
--- a/bundles/org.eclipse.rap.ui/schema/commonExpression.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/commonExpression.exsd
@@ -1,12 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" id="commonExpression" name="Common Expressions"/>
</appInfo>
<documentation>
- An action&apos;s enablement and/or visibility can be defined using the elements &lt;samp&gt;enablement&lt;/samp&gt; and &lt;samp&gt;visibility&lt;/samp&gt; respectively. These two elements contain a boolean expression that is evaluated to determine the enablement and/or visibility.
+ An action&apos;s enablement and/or visibility can be defined using the elements &lt;samp&gt;enablement&lt;/samp&gt; and &lt;samp&gt;visibility&lt;/samp&gt; respectively, if the extension point supports it. These two elements contain a boolean expression that is evaluated to determine the enablement and/or visibility.
&lt;p&gt;
The syntax is the same for the &lt;samp&gt;enablement&lt;/samp&gt; and &lt;samp&gt;visibility&lt;/samp&gt; elements. Both contain only one boolean expression sub-element. In the simplest case, this will be an &lt;samp&gt;objectClass&lt;/samp&gt;, &lt;samp&gt;objectState&lt;/samp&gt;, &lt;samp&gt;pluginState&lt;/samp&gt;, or &lt;samp&gt;systemProperty&lt;/samp&gt; element. In the more complex case, the &lt;samp&gt;and&lt;/samp&gt;, &lt;samp&gt;or&lt;/samp&gt;, and &lt;samp&gt;not&lt;/samp&gt; elements can be combined to form a boolean expression. Both the &lt;samp&gt;and&lt;/samp&gt;, and &lt;samp&gt;or&lt;/samp&gt; elements must contain 2 sub-elements. The &lt;samp&gt;not&lt;/samp&gt; element must contain only 1 sub-element.
&lt;/p&gt;
@@ -227,36 +227,12 @@ The syntax is the same for the &lt;samp&gt;enablement&lt;/samp&gt; and &lt;samp&
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
<annotation>
<appInfo>
diff --git a/bundles/org.eclipse.rap.ui/schema/contexts.exsd b/bundles/org.eclipse.rap.ui/schema/contexts.exsd
index a87480d11e..caf1daf01b 100755
--- a/bundles/org.eclipse.rap.ui/schema/contexts.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/contexts.exsd
@@ -96,9 +96,7 @@ The &lt;code&gt;org.eclipse.ui.contexts&lt;/code&gt; extension point is used to
<meta.section type="since"/>
</appinfo>
<documentation>
- &lt;p&gt;
3.0
-&lt;/p&gt;
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/decorators.exsd b/bundles/org.eclipse.rap.ui/schema/decorators.exsd
index 50ee7aea8c..494093e6b7 100755
--- a/bundles/org.eclipse.rap.ui/schema/decorators.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/decorators.exsd
@@ -160,6 +160,9 @@ declarative or implements
<element name="description" type="string">
<annotation>
+ <appInfo>
+ <meta.element translatable="true"/>
+ </appInfo>
<documentation>
an optional subelement whose body should contain text providing a short description of the decorator. This will be shown in the Decorators preference page so it is recommended that this is included. Default value is an empty String.
</documentation>
@@ -171,7 +174,7 @@ declarative or implements
<meta.section type="since"/>
</appinfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/editorActions.exsd b/bundles/org.eclipse.rap.ui/schema/editorActions.exsd
index b8e4c31a0b..6b129b0680 100755
--- a/bundles/org.eclipse.rap.ui/schema/editorActions.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/editorActions.exsd
@@ -206,7 +206,6 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
</appinfo>
</annotation>
</attribute>
- <!-- RAP [bm] not used
<attribute name="helpContextId" type="string">
<annotation>
<documentation>
@@ -214,7 +213,6 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
</documentation>
</annotation>
</attribute>
- -->
<attribute name="style" use="default" value="push">
<annotation>
<documentation>
diff --git a/bundles/org.eclipse.rap.ui/schema/editors.exsd b/bundles/org.eclipse.rap.ui/schema/editors.exsd
index 45169a85f2..b09ccdf23d 100755
--- a/bundles/org.eclipse.rap.ui/schema/editors.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/editors.exsd
@@ -1,10 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appInfo>
+ <appinfo>
<meta.schema plugin="org.eclipse.ui" id="editors" name="Internal and External Editors"/>
- </appInfo>
+ </appinfo>
<documentation>
This extension point is used to add new editors to the
workbench. A editor is a visual component within a
@@ -41,6 +41,11 @@ with it by any means except through the file system.
</annotation>
<element name="extension">
+ <annotation>
+ <appinfo>
+ <meta.element />
+ </appinfo>
+ </annotation>
<complexType>
<sequence>
<element ref="editor" minOccurs="0" maxOccurs="unbounded"/>
@@ -64,9 +69,9 @@ with it by any means except through the file system.
<documentation>
an optional name of the extension instance
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute translatable="true"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
</complexType>
@@ -74,9 +79,9 @@ with it by any means except through the file system.
<element name="editor">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="name" icon="icon"/>
- </appInfo>
+ </appinfo>
</annotation>
<complexType>
<sequence>
@@ -94,9 +99,9 @@ with it by any means except through the file system.
<documentation>
a translatable name that will be used in the UI for this editor
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute translatable="true"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
@@ -105,9 +110,9 @@ with it by any means except through the file system.
A relative name of the icon that will be used for all resources that match the specified extensions. Editors should provide an icon to make it easy for users to distinguish between different editor types. If you specify a command rather than a class, an icon is not needed. In that case, the workbench
will use the icon provided by the operating system.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute kind="resource"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="extensions" type="string">
@@ -122,9 +127,9 @@ will use the icon provided by the operating system.
<documentation>
the name of a class that implements &lt;samp&gt;org.eclipse.ui.IEditorPart&lt;/samp&gt;. The attributes &lt;samp&gt;class&lt;/samp&gt;, &lt;samp&gt;command&lt;/samp&gt;, and &lt;samp&gt;launcher&lt;/samp&gt; are mutually exclusive. If this attribute is defined then &lt;samp&gt;contributorClass&lt;/samp&gt; should also be defined.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.part.EditorPart"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="command" type="string">
@@ -140,9 +145,9 @@ will use the icon provided by the operating system.
the name of a class which that implements &lt;samp&gt;org.eclipse.ui.IEditorLauncher&lt;/samp&gt;.
A launcher will open an external editor. The attributes &lt;samp&gt;class&lt;/samp&gt;, &lt;samp&gt;command&lt;/samp&gt;, and &lt;samp&gt;launcher&lt;/samp&gt; are mutually exclusive.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.IEditorLauncher"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="contributorClass" type="string">
@@ -150,9 +155,9 @@ A launcher will open an external editor. The attributes &lt;samp&gt;class&lt;/sa
<documentation>
the name of a class that implements &lt;samp&gt;org.eclipse.ui.IEditorActionBarContributor&lt;/samp&gt;. This attribute should only be defined if the &lt;samp&gt;class&lt;/samp&gt; attribute is defined. This class is used to add new actions to the workbench menu and tool bar which reflect the features of the editor type.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.part.EditorActionBarContributor"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
<attribute name="default" type="boolean" use="default" value="false">
@@ -191,9 +196,9 @@ documents may register for &quot;ejb.htm, ejb.html&quot;.
<documentation>
the name of a class that implements &lt;samp&gt;org.eclipse.ui.IEditorMatchingStrategy&lt;/samp&gt;. This attribute should only be defined if the &lt;samp&gt;class&lt;/samp&gt; attribute is defined. This allows the editor extension to provide its own algorithm for matching the input of one of its editors to a given editor input.
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.IEditorMatchingStrategy"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
</complexType>
@@ -201,9 +206,9 @@ documents may register for &quot;ejb.htm, ejb.html&quot;.
<element name="contentTypeBinding">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="contentTypeId"/>
- </appInfo>
+ </appinfo>
<documentation>
Advertises that the containing editor understands the given content type and is suitable for editing files of that type.
</documentation>
@@ -212,18 +217,20 @@ documents may register for &quot;ejb.htm, ejb.html&quot;.
<attribute name="contentTypeId" type="string" use="required">
<annotation>
<documentation>
- The content type identifier. This is an ID defined by the &apos;org.eclipse.core.runtime.contentTypes&apos; extension point.
+ The content type identifier. This is an ID defined by the &apos;org.eclipse.core.contenttype.contentTypes&apos; extension point.
</documentation>
+ <appinfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.core.contenttype.contentTypes/content-type/@id"/>
+ </appinfo>
</annotation>
</attribute>
</complexType>
</element>
-
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="examples"/>
- </appInfo>
+ </appinfo>
<documentation>
The following is an example
of an internal editor extension definition:
@@ -247,9 +254,9 @@ of an internal editor extension definition:
</annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="apiInfo"/>
- </appInfo>
+ </appinfo>
<documentation>
If the command attribute is used, it will be treated
as an external program command line that will be executed
@@ -311,19 +318,20 @@ editor is closed, menus and actions will be removed.
</documentation>
</annotation>
+
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="implementation"/>
- </appInfo>
+ </appinfo>
<documentation>
The workbench provides a &quot;Default Text Editor&quot;. The end user product may contain other editors as part of the shipping bundle. In that case, editors will be registered as extensions using the syntax described above.
</documentation>
</annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="copyright"/>
- </appInfo>
+ </appinfo>
<documentation>
Copyright (c) 2002, 2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/encodings.exsd b/bundles/org.eclipse.rap.ui/schema/encodings.exsd
index 84def132ad..093aaf4b07 100755
--- a/bundles/org.eclipse.rap.ui/schema/encodings.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/encodings.exsd
@@ -1,16 +1,20 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
+<schema targetNamespace="org.eclipse.ui">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="encodings" name="Encodings"/>
- </appinfo>
+ </appInfo>
<documentation>
A list of encodings that will be made available to the user for selection of file encodings. This list corresponds to the values of Charset#getName() for a series of Charsets. Those that are specified but not avaiable will be indicated as such in the workbench and will not be selectable by the user.
</documentation>
</annotation>
<element name="extension">
+ <annotation>
+ <documentation>
+ </documentation>
+ </annotation>
<complexType>
<sequence>
<element ref="encoding" minOccurs="0" maxOccurs="unbounded"/>
@@ -34,15 +38,19 @@
<documentation>
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="encoding">
+ <annotation>
+ <documentation>
+ </documentation>
+ </annotation>
<complexType>
<attribute name="name" type="string" use="required">
<annotation>
@@ -55,18 +63,18 @@
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="since"/>
- </appinfo>
+ </appInfo>
<documentation>
3.1
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of an encodings extension:
&lt;p&gt;
@@ -83,9 +91,9 @@
</annotation>
<annotation>
- <appinfo>
- <meta.section type="apiinfo"/>
- </appinfo>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
<documentation>
Use method &lt;code&gt;org.eclipse.ui.WorkbenchEncoding.getDefinedEncodings&lt;/code&gt; to retrieve the encodings defined by this extension point.
Use method &lt;code&gt;org.eclipse.ui.WorkbenchEncoding.getWorkbenchDefaultEncoding&lt;/code&gt; to retrieve the default encoding from the virtual machine.
@@ -93,18 +101,18 @@ Use method &lt;code&gt;org.eclipse.ui.WorkbenchEncoding.getWorkbenchDefaultEncod
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
The workbench provides some commonly used encodings.
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2004,2006 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/exportWizards.exsd b/bundles/org.eclipse.rap.ui/schema/exportWizards.exsd
index 6b15ea7c66..5d74a2decb 100755
--- a/bundles/org.eclipse.rap.ui/schema/exportWizards.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/exportWizards.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="exportWizards" name="Export Wizards"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point is used to register export wizard extensions. Export wizards appear as choices within the &quot;Export Dialog&quot;, and are used to export resources from the workbench.
&lt;p&gt;
@@ -14,6 +14,11 @@ Wizards may optionally specify a description subelement whose body should contai
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="category"/>
@@ -38,9 +43,29 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
an optional name of the extension instance
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="keywordReference">
+ <annotation>
+ <documentation>
+ A reference by an Export Wizard to a keyword. See the keywords extension point.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the keyword being referred to.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.keywords/keyword/@id"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -48,9 +73,9 @@ Wizards may optionally specify a description subelement whose body should contai
<element name="category">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="name"/>
- </appinfo>
+ </appInfo>
</annotation>
<complexType>
<attribute name="id" type="string" use="required">
@@ -65,9 +90,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a translatable name of the category that will be used in the dialog box
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="parentCategory" type="string">
@@ -75,9 +100,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a path to another category if this category should be added as a child
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.exportWizards/category/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -85,9 +110,9 @@ Wizards may optionally specify a description subelement whose body should contai
<element name="wizard">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="name" icon="icon"/>
- </appinfo>
+ </appInfo>
<documentation>
an element that will be used to create export wizard
</documentation>
@@ -96,6 +121,7 @@ Wizards may optionally specify a description subelement whose body should contai
<sequence>
<element ref="description" minOccurs="0" maxOccurs="1"/>
<element ref="selection" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="keywordReference" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
@@ -109,9 +135,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a translatable name that will be used in the dialog box to represent this wizard
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="category" type="string">
@@ -122,9 +148,6 @@ path must represent a valid category ID previously defined
by this or some other plug-in. If omitted, the wizard will be
added to the &quot;Other&quot; category.
</documentation>
- <appinfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.ui.exportWizards/category/@id"/>
- </appinfo>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
@@ -133,9 +156,9 @@ added to the &quot;Other&quot; category.
a fully qualified name of the class that implements &lt;tt&gt;org.eclipse.ui.IExportWizard&lt;/tt&gt;
interface
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.Wizard:org.eclipse.ui.IExportWizard"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
@@ -144,6 +167,9 @@ interface
a relative name of the icon that will be used
alongside the wizard name in the export engine listing.
</documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -151,9 +177,9 @@ alongside the wizard name in the export engine listing.
<element name="description" type="string">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element translatable="true"/>
- </appinfo>
+ </appInfo>
<documentation>
an optional subelement whose body should represent a short description
of the export engine functionality.
@@ -181,18 +207,18 @@ when the wizard is invoked.
<documentation>
a fully qualified class name. If each object in the workbench selection implements this interface the selection will be passed to the wizard. Otherwise, an empty selection is passed.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of an export extension definition:
&lt;p&gt;
@@ -216,9 +242,9 @@ when the wizard is invoked.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
The value of the &lt;samp&gt;class&lt;/samp&gt; attribute
must be a name of the class that implements
@@ -227,11 +253,10 @@ must be a name of the class that implements
</annotation>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
The workbench comes preloaded with basic export engines
for files and directories.
@@ -239,9 +264,9 @@ for files and directories.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2002, 2005 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/fontDefinitions.exsd b/bundles/org.eclipse.rap.ui/schema/fontDefinitions.exsd
index e62c8e4f06..55e5f7e12d 100755
--- a/bundles/org.eclipse.rap.ui/schema/fontDefinitions.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/fontDefinitions.exsd
@@ -115,7 +115,7 @@ Only one or neither of value or defaultsTo may be used.
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.1
+ 2.1
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/helpSupport.exsd b/bundles/org.eclipse.rap.ui/schema/helpSupport.exsd
index ea1ca2e875..da6a36f044 100755
--- a/bundles/org.eclipse.rap.ui/schema/helpSupport.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/helpSupport.exsd
@@ -3,7 +3,7 @@
<schema targetNamespace="org.eclipse.ui">
<annotation>
<appInfo>
- <meta.schema plugin="org.eclipse.ui" id="helpSupport" name="HelpSupport"/>
+ <meta.schema plugin="org.eclipse.ui" id="helpSupport" name="Help Support"/>
</appInfo>
<documentation>
This extension point is for contributing the help system UI. The platform should be configured with no more than one help system UI.
diff --git a/bundles/org.eclipse.rap.ui/schema/importWizards.exsd b/bundles/org.eclipse.rap.ui/schema/importWizards.exsd
index 5b160e3998..fcf28fe71e 100755
--- a/bundles/org.eclipse.rap.ui/schema/importWizards.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/importWizards.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="importWizards" name="Import Wizards"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point is used to register import wizard extensions. Import wizards appear as choices within the &quot;Import Dialog&quot; and are used to import resources into the workbench.
&lt;p&gt;
@@ -14,6 +14,11 @@ Wizards may optionally specify a description subelement whose body should contai
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="category"/>
@@ -38,9 +43,29 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
an optional name of the extension instance
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="keywordReference">
+ <annotation>
+ <documentation>
+ A reference by an Import Wizard to a keyword. See the keywords extension point.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the keyword being referred to.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.keywords/keyword/@id"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -48,9 +73,9 @@ Wizards may optionally specify a description subelement whose body should contai
<element name="category">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="name"/>
- </appinfo>
+ </appInfo>
</annotation>
<complexType>
<attribute name="id" type="string" use="required">
@@ -65,9 +90,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a translatable name of the category that will be used in the dialog box
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="parentCategory" type="string">
@@ -75,9 +100,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a path to another category if this category should be added as a child
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.importWizards/category/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -85,9 +110,9 @@ Wizards may optionally specify a description subelement whose body should contai
<element name="wizard">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="name" icon="icon"/>
- </appinfo>
+ </appInfo>
<documentation>
an element that will be used to create import wizard
</documentation>
@@ -96,6 +121,7 @@ Wizards may optionally specify a description subelement whose body should contai
<sequence>
<element ref="description" minOccurs="0" maxOccurs="1"/>
<element ref="selection" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="keywordReference" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
@@ -109,9 +135,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a translatable name that will be used in the dialog box to represent this wizard
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="category" type="string">
@@ -122,9 +148,6 @@ path must represent a valid category ID previously defined
by this or some other plug-in. If omitted, the wizard will be
added to the &quot;Other&quot; category.
</documentation>
- <appinfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.ui.importWizards/category/@id"/>
- </appinfo>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
@@ -132,9 +155,9 @@ added to the &quot;Other&quot; category.
<documentation>
a fully qualified name of the class that implements &lt;samp&gt;org.eclipse.ui.IImportWizard&lt;/samp&gt; interface
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.Wizard:org.eclipse.ui.IImportWizard"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
@@ -142,9 +165,9 @@ added to the &quot;Other&quot; category.
<documentation>
a relative name of the icon that will be used alongside the wizard name in the import engine listing.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -152,9 +175,9 @@ added to the &quot;Other&quot; category.
<element name="description" type="string">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element translatable="true"/>
- </appinfo>
+ </appInfo>
<documentation>
an optional subelement whose body should represent a short description of the import engine functionality.
</documentation>
@@ -180,18 +203,18 @@ added to the &quot;Other&quot; category.
<documentation>
fully qualified class name. If each object in the workbench selection implements this interface the selection will be passed to the wizard. Otherwise, an empty selection is passed.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of an import extension definition:
&lt;p&gt;
@@ -215,9 +238,9 @@ added to the &quot;Other&quot; category.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
The value of the &lt;samp&gt;class&lt;/samp&gt; attribute must represent a name of the class that implements
&lt;samp&gt;org.eclipse.ui.IImportWizard&lt;/samp&gt;.
@@ -225,20 +248,19 @@ added to the &quot;Other&quot; category.
</annotation>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
The workbench comes preloaded with the basic import engines for files and directories.
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2002, 2005 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/installationPages.exsd b/bundles/org.eclipse.rap.ui/schema/installationPages.exsd
new file mode 100644
index 0000000000..dd6a9f441e
--- /dev/null
+++ b/bundles/org.eclipse.rap.ui/schema/installationPages.exsd
@@ -0,0 +1,151 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.ui" id="installationPages" name="Installation Dialog Pages"/>
+ </appInfo>
+ <documentation>
+ &lt;p&gt;The Eclipse UI provides an AboutDialog that can be branded and reused by client product plugins. This dialog typically shows the product splash image and other descriptive information about the product. The about dialog includes a button that allows the user to launch a secondary dialog, the &lt;b&gt;Installation Details&lt;/b&gt; dialog.&lt;/p&gt;
+&lt;p&gt;The purpose of this extension point is to allow plug-ins to add
+pages to the installation details dialog. When the installation details dialog is opened, the pages contributed in this way will be added to the dialog box. These pages are used to supply additional detail about the product configuration.&lt;/p&gt;
+
+&lt;p&gt;This is an experimental extension point for an extensible about dialog. It is not ready for production and is included at this time only for evaluation by downstream clients. Use at your own risk.&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="page" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="page">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ The fully qualified name of a concrete subclass of &lt;code&gt;org.eclipse.ui.about.InstallationPage&lt;/code&gt;.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.ui.about.InstallationPage"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 3.5
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ The following is an example installation page:
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.ui.installationPages&quot;&gt;
+ &lt;page
+ name=&quot;XYZ Info&quot;
+ class=&quot;org.eclipse.ui.internal.XYZInstallInfoPage&quot;
+ id=&quot;org.eclipse.ui.internal.xyz&gt;
+ &lt;/page&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiinfo"/>
+ </appInfo>
+ <documentation>
+ The value of the attribute class must represent a fully qualified name of a class that is a concrete subclass of
+&lt;samp&gt;org.eclipse.ui.about.InstallationPage&lt;/samp&gt;.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ The Workbench uses this extension point to provide the following pages in the installation details dialog:
+&lt;ul&gt;
+&lt;li&gt;Plug-ins: A list of all of the plug-ins in the running the system, including details about each plug-in.&lt;/li&gt;
+&lt;li&gt;Configuration: The configuration information contributed via the &lt;samp&gt;org.eclipse.ui.systemSummarySections&lt;/samp&gt; extension.&lt;/li&gt;
+&lt;/ul&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2008, 2009 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>
diff --git a/bundles/org.eclipse.rap.ui/schema/intro.exsd b/bundles/org.eclipse.rap.ui/schema/intro.exsd
index d90bc4e216..46c78be430 100755
--- a/bundles/org.eclipse.rap.ui/schema/intro.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/intro.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" id="intro" name="Intro Part"/>
@@ -24,6 +24,11 @@ The life cycle is as follows:
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="intro" minOccurs="0" maxOccurs="unbounded"/>
@@ -131,6 +136,9 @@ Since 3.2
<documentation>
unique id of a product
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.core.runtime.products/@id"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="introId" type="string" use="required">
@@ -138,6 +146,9 @@ Since 3.2
<documentation>
unique id of an introduction
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.intro/intro/@id"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -220,7 +231,7 @@ Since 3.2
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2004, 2007 IBM Corporation and others.&lt;br&gt;
+ Copyright (c) 2004, 2009 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
diff --git a/bundles/org.eclipse.rap.ui/schema/keywords.exsd b/bundles/org.eclipse.rap.ui/schema/keywords.exsd
index f1dde3a660..4f2d146a4a 100755
--- a/bundles/org.eclipse.rap.ui/schema/keywords.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/keywords.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" id="keywords" name="Keywords"/>
@@ -8,14 +8,15 @@
<documentation>
The keywords extension point defines keywords and a unique id for reference by other schemas.
-See propertyPages and preferencePages.
+See propertyPages, newWizards, importWizards, exportWizards and preferencePages.
</documentation>
</annotation>
<element name="extension">
<annotation>
- <documentation>
- </documentation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
</annotation>
<complexType>
<choice>
@@ -49,10 +50,6 @@ See propertyPages and preferencePages.
</element>
<element name="keyword">
- <annotation>
- <documentation>
- </documentation>
- </annotation>
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
@@ -116,7 +113,7 @@ See propertyPages and preferencePages.
<meta.section type="implementation"/>
</appInfo>
<documentation>
- Keywords are used only with preference and property pages. See the &lt;samp&gt;keywordReference&lt;/samp&gt; element of the org.eclipse.ui.propertyPages and org.eclipse.ui.preferencePages extension points.
+ Keywords are used with workbench wizards (new, import &amp;amp; export), preference and property pages. See the &lt;samp&gt;keywordReference&lt;/samp&gt; element of the org.eclipse.ui.propertyPages and org.eclipse.ui.preferencePages extension points.
</documentation>
</annotation>
@@ -125,7 +122,7 @@ See propertyPages and preferencePages.
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2005,2006 IBM Corporation and others.&lt;br&gt;
+ Copyright (c) 2005, 2010 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
diff --git a/bundles/org.eclipse.rap.ui/schema/menus.exsd b/bundles/org.eclipse.rap.ui/schema/menus.exsd
index 4993d56b94..4d96d8c308 100755
--- a/bundles/org.eclipse.rap.ui/schema/menus.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/menus.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="menus" name="Menus"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
This extension point allows the plug-in developer to add (contribute) a variety of custom additions to the eclipse framework:
@@ -36,8 +36,8 @@ The general strategy for this mechanism is to separate the &apos;location&apos;
&lt;b&gt;&quot;[Scheme]:[ID]?[ArgList]&quot;&lt;/b&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Scheme&lt;/b&gt; - The &apos;type&apos; of the UI component into which the contributions will be added. It may be either &quot;menu&quot;, &quot;popup&quot; or &quot;toolbar&quot;. While &apos;popup&apos; is indeed a form of menu it is provided to allow a distinction between a view&apos;s &apos;chevron&apos; menu (for which we use the &quot;menu&quot; scheme) and its default context menu which, by convention, should be registered using the &quot;popup&quot; scheme.&lt;/li&gt;
-&lt;li&gt;&lt;b&gt;ID&lt;/b&gt; - This is the id of menu or toolbar into which the contributions should be added. By convention views should use their view id as the id of the root of their chevron and default popup menu. Note that there is no explicit distinction between contributions supporting editors and &apos;normal&apos; contributions into the Menu Menu or Toolbar; both global contributions and editor contributions would use the &quot;org.eclipse.ui.main.menu&quot; id or &quot;org.eclipse.ui.main.toolbar&quot;. A special id used with popup:, &quot;org.eclipse.ui.any.popup&quot;, is reserved to handle contributions which are candidates to appear on any (top level) context menu. Note that these contributions are expected to implement a &apos;visibleWhen&apos; expression sufficient to limit their visibility to appropriate menus&lt;/li&gt;
-&lt;li&gt;&lt;b&gt;Query&lt;/b&gt; - This field allows fine-grained definition of the specific location &lt;i&gt;within&lt;/i&gt; a given menu. It has the form &quot;[placement]=[id]&quot; where placement is one of &quot;before&quot; or &quot;after&quot; and the id is expected to be the id of some IContributionItem in the menu.&lt;/li&gt;
+&lt;li&gt;&lt;b&gt;ID&lt;/b&gt; - This is the id of menu or toolbar into which the contributions should be added. By convention views should use their view id as the id of the root of their chevron and default popup menu. Note that there is no explicit distinction between contributions supporting editors and &apos;normal&apos; contributions into the Menu Menu or Toolbar; both global contributions and editor contributions would use the &quot;org.eclipse.ui.main.menu&quot; id or &quot;org.eclipse.ui.main.toolbar&quot;. A special id used with popup:, &quot;org.eclipse.ui.popup.any&quot;, is reserved to handle contributions which are candidates to appear on any (top level) context menu. Note that these contributions are expected to implement a &apos;visibleWhen&apos; expression sufficient to limit their visibility to appropriate menus&lt;/li&gt;
+&lt;li&gt;&lt;b&gt;Query&lt;/b&gt; - This field allows fine-grained definition of the specific location &lt;i&gt;within&lt;/i&gt; a given menu. It has the form &quot;[placement]=[id]&quot; where placement is one of &quot;before&quot;, &quot;after&quot;, or &quot;endof&quot; and the id is expected to be the id of some IContributionItem in the menu.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
This will define the location at which the contributions will appear in the eclipse UI. Once the insertion point has been defined the rest of the contributions describe the UI elements that will be added at that location. Each element supports a &apos;visibleWhen&apos; expression that determines at run time whether a particular item should appear in the menu based on the system&apos;s current state (selection, active view/editor, context...). See &lt;code&gt;org.eclipse.ui.ISources&lt;/code&gt; for a list of currently
@@ -49,6 +49,11 @@ supported variables.
<include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="group" minOccurs="0" maxOccurs="unbounded"/>
@@ -74,9 +79,9 @@ supported variables.
<documentation>
An optional name of the extension instance.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -84,20 +89,20 @@ supported variables.
<element name="group">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
-A logical group. It can either be visible (e.g., separators are drawn before and after, as appropriate) or invisible. By default, logicial groups are visible.
+A logical group. It can either be visible (e.g., separators are drawn before and after, as appropriate) or invisible. By default, logical groups are visible.
&lt;/p&gt;
&lt;p&gt;
A group can contain menus, items and other groups.
&lt;/p&gt;
&lt;p&gt;
-This element is deprecated. Groups are now expressed as id&apos;d &apos;separator&apos; elements. The menu insertion URI can be used to define an insertion point either &apos;before&apos; or &apos;after&apos; &lt;b&gt;any&lt;/b&gt; id&apos;d element and placing it after the separator is the same as contibuting it to the group. &lt;/p&gt;
+This element is deprecated. Groups are now expressed as id&apos;d &apos;separator&apos; elements. The menu insertion URI can be used to define an insertion point either &apos;before&apos; or &apos;after&apos; &lt;b&gt;any&lt;/b&gt; id&apos;d element and placing it after the separator is the same as contributing it to the group. &lt;/p&gt;
&lt;p&gt;
-See the documentation for the &apos;locationURI&apos; attribute of &apos;menuAddition&apos; for more details on how to define insertion points adn how they relate to the menu structure.
+See the documentation for the &apos;locationURI&apos; attribute of &apos;menuAddition&apos; for more details on how to define insertion points and how they relate to the menu structure.
&lt;/p&gt;
</documentation>
</annotation>
@@ -124,9 +129,9 @@ See the documentation for the &apos;locationURI&apos; attribute of &apos;menuAdd
<element name="widget">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
A menu or trim element that is given direct access to the widgets. For example, this can be used to render a combo box. &lt;b&gt;NOTE:&lt;/b&gt; If a widget element becomes visible in the user interface, this will lead to plug-in loading. &lt;strong&gt;Use this element with caution, as it can cause performance problems.&lt;/strong&gt;
When used as trim the widget will only cause the plug-in to load when it becomes visible in the UI.
@@ -157,9 +162,9 @@ If defined then it can be used as a reference in the Query part of the location
<documentation>
This class is loaded to fill the appropriate spot in the menu or trim when it shows. While, strictly speaking, this class must implement &lt;code&gt;IWorkbenchWidget&lt;/code&gt; you should use the default implementation; &lt;code&gt;AbstractWorkbenchTrimWidget&lt;/code&gt; as the base from which to derive your widget implementation. This implementation handles the &apos;init&apos; method and caches the result for use through its &lt;code&gt;getWorkbenchWindow&lt;/code&gt; method.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.menus.IWorkbenchWidget"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -167,9 +172,9 @@ If defined then it can be used as a reference in the Query part of the location
<element name="layout">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
This element can be used to specify various layout options for elements added into &lt;code&gt;trim&lt;/code&gt; locations.
</documentation>
@@ -194,9 +199,9 @@ If defined then it can be used as a reference in the Query part of the location
<element name="location">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
A location in which a &lt;code&gt;menu&lt;/code&gt;, &lt;code&gt;group&lt;/code&gt;, &lt;code&gt;item&lt;/code&gt; or &lt;code&gt;widget&lt;/code&gt; can appear. This element is used to control location-specific information.
&lt;p&gt;
@@ -219,9 +224,9 @@ This element is deprecated. Users of this extension point should now define the
<documentation>
The mnemonic that should be associated with this element in the given location. A mnemonic should be a single character.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true" deprecated="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
-->
@@ -230,9 +235,9 @@ This element is deprecated. Users of this extension point should now define the
<documentation>
The image style to associate with this location. It is possible for commands to have different styles of images associated with them. For example, a different icon could be selected for the tool bar and for the menu. This is especially important for developers using drop-down tool items in the tool bar, as they may wish to display an icon more appropriate for the drop-down.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute deprecated="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -240,9 +245,9 @@ This element is deprecated. Users of this extension point should now define the
<element name="bar">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
A leaf element within a location. This can be the menu bar or the trim area. If unqualified, this indicates the top-level menu bar or trim. If this is qualified with a &lt;code&gt;part&lt;/code&gt; element, then this indicates that part&apos;s menu or trim.
</documentation>
@@ -271,9 +276,9 @@ Within the trim, the workbench defines five general groups which correspond to v
By positioning the trim contribution within or with respect to these groups, the position is inferred by the workbench.
&lt;/p&gt;
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute deprecated="true"/>
- </appinfo>
+ </appInfo>
</annotation>
<simpleType>
<restriction base="string">
@@ -289,9 +294,9 @@ By positioning the trim contribution within or with respect to these groups, the
<documentation>
This represents the id of a group that the widget is to be placed into.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute deprecated="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -312,9 +317,9 @@ By positioning the trim contribution within or with respect to these groups, the
<documentation>
The class to load as an &lt;code&gt;IExecutableExtension&lt;/code&gt;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -323,7 +328,7 @@ By positioning the trim contribution within or with respect to these groups, the
<element name="visibleWhen">
<annotation>
<documentation>
- A core Expression that ontrols the visibility of the given element.
+ A core Expression that controls the visibility of the given element.
</documentation>
</annotation>
<complexType>
@@ -354,9 +359,9 @@ By positioning the trim contribution within or with respect to these groups, the
<element name="part">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
An element within a location. This qualifies the location to refer to a particular workbench part. This can be either a view or an editor. The qualification can use either the class name of the part (including inheritance), or it can refer to the identifier for the view or editor.
@@ -403,9 +408,9 @@ Only one of &lt;code&gt;id&lt;/code&gt; and &lt;code&gt;class&lt;/code&gt; can b
<documentation>
The name is either the name of the parameter to pass to the executable extension, or the identifier of the parameter for the command.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/commandParameter/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="value" type="string" use="required">
@@ -420,9 +425,9 @@ Only one of &lt;code&gt;id&lt;/code&gt; and &lt;code&gt;class&lt;/code&gt; can b
<element name="order">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;b&gt;NOTE:&lt;/b&gt; This element is deprecated in favor of using the &apos;locationURI&apos; to specify the location at which contributions should be placed.
&lt;p&gt;
@@ -471,9 +476,9 @@ In the event of conflicts, Eclipse will chose an arbitrary order. The only guar
<element name="popup">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
Part of a location. It indicates that the menu, group, item or widget should appear in the popup menu.
&lt;p&gt;
@@ -528,8 +533,25 @@ The format for the URI is comprised of three basic parts:
Scheme: One of &quot;menu&quot;, &quot;popup&quot; or &quot;toolbar. Indicates the type of the manager used to handle the contributions
Id: This is either the id of an existing menu, a view id or the id of the editor &apos;type&apos;
Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
- &amp;lt;placement&amp;gt; is either &quot;before&quot; or &quot;after&quot; and
- &amp;lt;id&amp;gt; is the id of an existing menu item
+ &amp;lt;placement&amp;gt; is either &quot;before&quot;, &quot;after&quot;, or &quot;endof&quot; and
+ &amp;lt;id&amp;gt; is the id of an existing menu item. The placement modifier is executed when this contribution is processed. Following contributions may change the final shape of the menu when they are processed.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string">
+ <annotation>
+ <documentation>
+ If this optional attribute is specified the provided class will be instantiated and used to provide menu contributions at this location. If provided, all child elements will be ignored.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.ui.menus.ExtensionContributionFactory:"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="allPopups" type="boolean" use="default" value="false">
+ <annotation>
+ <documentation>
+ By default popup contributions are not contributed to context menus that do not include an &lt;b&gt;additions&lt;/b&gt; marker.
</documentation>
</annotation>
</attribute>
@@ -552,6 +574,16 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<element ref="dynamic" minOccurs="0" maxOccurs="1"/>
</choice>
</sequence>
+ <attribute name="label" type="string" use="required">
+ <annotation>
+ <documentation>
+ The label to be displayed for this element when it is placed in either a menu or a toolbar. This value should be translatable.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
@@ -565,9 +597,9 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<documentation>
The character of the Label that should be given the mnemonic affordance. This is to allow the menu system to re-define the value during translation without having to understand the various platforms&apos; conventions for menu label definition (i.e. using the &apos;&amp;amp;&apos; character...).
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
-->
@@ -576,9 +608,9 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<documentation>
A plugin relative path to the image to be used as the icon for this menu in either a menu or a toolbar.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="tooltip" type="string">
@@ -586,29 +618,19 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<documentation>
The tooltip to be displayed for this element when it is placed in a toolbar. This value should be translatable.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
- </annotation>
- </attribute>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
- The label to be displayed for this element when it is placed in either a menu or a toolbar. This value should be translatable.
- </documentation>
- <appinfo>
- <meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="commandId" type="string">
<annotation>
<documentation>
- Th commandId is used to update the submenu text with a keyboard shortcut. The comand should have a handler that can launch a quickmenu version of this menu.
+ Th commandId is used to update the submenu text with a keyboard shortcut. The command should have a handler that can launch a quickmenu version of this menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -625,14 +647,24 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<element ref="visibleWhen" minOccurs="0" maxOccurs="1"/>
<element ref="parameter" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
+ <attribute name="label" type="string">
+ <annotation>
+ <documentation>
+ The label to be displayed for this element when it is placed in either a menu. This value should be translatable.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
<attribute name="commandId" type="string" use="required">
<annotation>
<documentation>
This is the id of the Command that is to be bound to this element. This is the hook into the Commands/Handlers/Key binding services that actually do the work should this item be selected. In many cases this command will have been defined in a previous extension declaration.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="id" type="string">
@@ -648,9 +680,9 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<documentation>
The character of the Label that should be given the mnemonic affordance. This is to allow the menu system to re-define the value during translation without having to understand the various platforms&apos; conventions for menu label definition (i.e. using the &apos;&amp;amp;&apos; character...).
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
-->
@@ -658,11 +690,11 @@ Query: The query format is &amp;lt;placement&amp;gt;=&amp;lt;id&amp;gt; where:
<annotation>
<documentation>
a relative path of an icon used to visually represent the action in its context.
-If omitted and the action appears in the toolbar, the Workbench will use a placeholder icon. The path is relative to the location of the plugin.xml file of the contributing plug-in.
+If omitted and the action appears in the toolbar, the Workbench will use a placeholder icon. The path is relative to the location of the plugin.xml file of the contributing plug-in, or the &lt;code&gt;ISharedImages&lt;/code&gt; constant.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<!-- RAP [bm] not supported
@@ -671,9 +703,9 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
a relative path of an icon used to visually represent the action in its context when the action is disabled. If omitted, the normal icon will simply appear greyed out. The path is relative to the location of the plugin.xml file of the contributing plug-in. The disabled icon will appear in toolbars but not in menus. Icons for disabled actions in menus will be supplied by the OS.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="hoverIcon" type="string">
@@ -681,33 +713,22 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
a relative path of an icon used to visually represent the action in its context when the mouse pointer is over the action. If omitted, the normal icon will be used. The path is relative to the location of the plugin.xml file of the contributing plug-in.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
-->
- <attribute name="label" type="string">
- <annotation>
- <documentation>
- The label to be displayed for this element when it is placed in either a menu. This value should be translatable.
- </documentation>
- <appinfo>
- <meta.attribute translatable="true"/>
- </appinfo>
- </annotation>
- </attribute>
<attribute name="tooltip" type="string">
<annotation>
<documentation>
The tooltip to be displayed for this element when it is placed in a toolbar. This value should be translatable.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
- <!-- RAP [bm] not supported
<attribute name="helpContextId" type="string">
<annotation>
<documentation>
@@ -715,7 +736,6 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
</documentation>
</annotation>
</attribute>
- -->
<attribute name="style" use="default" value="push">
<annotation>
<documentation>
@@ -785,7 +805,7 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
<documentation>
The &apos;id&apos; of this contribution. If defined then it can be used as a reference in the Query part of the location defining whether the additions are to go before or after this element (or at the end of the logical group containing this element using the &apos;endof&apos; value).
&lt;p&gt;
-Separator contributions that have an id define the start of a logical group so the result of using the &apos;endof&apos; value for placement is to search forward in the current menu to locate the next id&apos;d separator and to place the inserted elements before that element. If no trailing separator is found then the items are placed at the end of the menu.
+Separator contributions that have an id define the start of a logical group so the result of using the &apos;endof&apos; value for placement is to search forward in the current menu to locate the next separator and to place the inserted elements before that element. If no trailing separator is found then the items are placed at the end of the menu.
&lt;/p&gt;
</documentation>
</annotation>
@@ -803,7 +823,7 @@ Separator contributions that have an id define the start of a logical group so t
<element name="toolbar">
<annotation>
<documentation>
- Contributes a new ToolBar at the current insertion point.
+ Contributes a new ToolBar at the current insertion point. This element is only currently valid for CoolBarManagers, which can contain toolbars. For example, the trim location URIs specified in &lt;code&gt;org.eclipse.ui.menus.MenuUtil&lt;/code&gt;.
</documentation>
</annotation>
<complexType>
@@ -823,6 +843,16 @@ Separator contributions that have an id define the start of a logical group so t
</documentation>
</annotation>
</attribute>
+ <attribute name="label" type="string">
+ <annotation>
+ <documentation>
+ The label to be displayed for this element when it is displayed in the customize perspective dialog. This value should be translatable.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
</complexType>
</element>
@@ -832,7 +862,7 @@ Separator contributions that have an id define the start of a logical group so t
Used to contribute controls to ToolBars in the workbench. The &apos;class&apos; attribute must be a derivative of the
WorkbenchWindowControlContribution base class.
&lt;p&gt;
-&lt;b&gt;NOTE:&lt;/b&gt; Due to platform restruictions ontrol contributions are only supported for toolbars; Attempts to contribute controls into a menu or popup will be treated as a NO-OP.
+&lt;b&gt;NOTE:&lt;/b&gt; Due to platform restrictions control contributions are only supported for toolbars; Attempts to contribute controls into a menu or popup will be treated as a NO-OP.
&lt;/p&gt;
</documentation>
</annotation>
@@ -853,9 +883,9 @@ WorkbenchWindowControlContribution base class.
The class which will be used to create the control that is to be hosted in a ToolBar. This must be a subclass of
WorkbenchWindowControlContribution which provides information as to the control&apos;s location (i.e. which workbench window it&apos;s being hosted in and the side of the window that it is currently being displayed on.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.ui.menus.WorkbenchWindowControlContribution"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -887,27 +917,43 @@ If defined then it can be used as a reference in the Query part of the location
<documentation>
This class is expected to be a subclass of ContributionItem. The item may implement IWorkbenchContribution to be provided an IServiceLocator.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.jface.action.ContributionItem"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
- <appinfo>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ &lt;p&gt;
+It is preferred that menu contributions be added in the &lt;code&gt;plugin.xml&lt;/code&gt;. Plugins can
+programmatically add their own menu contributions using &lt;code&gt;org.eclipse.ui.menus.IMenuService&lt;/code&gt; and &lt;code&gt;org.eclipse.ui.menus.AbstractContributionFactory&lt;/code&gt;, but should be sure to remove them if the plugin is unloaded. The &lt;code&gt;IMenuService&lt;/code&gt; can be retrieved through any of the &lt;code&gt;IServiceLocators&lt;/code&gt;, the workbench, the workbench window, or the part site.
+&lt;/p&gt;
+&lt;p&gt;
+See &lt;a href=&quot;org_eclipse_ui_commands.html&quot;&gt;org.eclipse.ui.commands&lt;/a&gt; to define a command and &lt;a href=&quot;org_eclipse_ui_handlers.html&quot;&gt;org.eclipse.ui.handlers&lt;/a&gt; to define an implementation for the command.
+&lt;/p&gt;
+&lt;p&gt;To register a context menu, use the &lt;code&gt;IWorkbenchPartSite.registerContextMenu&lt;/code&gt; methods.&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
<meta.section type="since"/>
- </appinfo>
+ </appInfo>
<documentation>
3.3
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
A basic extension looks like this.
@@ -934,28 +980,11 @@ This is the simplest example; adding a command contribution after an existing me
</documentation>
</annotation>
- <annotation>
- <appinfo>
- <meta.section type="apiInfo"/>
- </appinfo>
- <documentation>
- &lt;p&gt;
-It is preferred that menu contributions be added in the &lt;code&gt;plugin.xml&lt;/code&gt;. Plugins can
-programmatically add their own menu contributions using &lt;code&gt;org.eclipse.ui.menus.IMenuService&lt;/code&gt; and &lt;code&gt;org.eclipse.ui.menus.AbstractContributionFactory&lt;/code&gt;, but should be sure to remove them if the plugin is unloaded. The &lt;code&gt;IMenuService&lt;/code&gt; can be retrieved through any of the &lt;code&gt;IServiceLocators&lt;/code&gt;, the workbench, the workbench window, or the part site.
-&lt;/p&gt;
-&lt;p&gt;
-See &lt;a href=&quot;org_eclipse_ui_commands.html&quot;&gt;org.eclipse.ui.commands&lt;/a&gt; to define a command and &lt;a href=&quot;org_eclipse_ui_handlers.html&quot;&gt;org.eclipse.ui.handlers&lt;/a&gt; to define an implementation for the command.
-&lt;/p&gt;
-&lt;p&gt;To register a context menu, use the &lt;code&gt;IWorkbenchPartSite.registerContextMenu&lt;/code&gt; methods.&lt;/p&gt;
- </documentation>
- </annotation>
-
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2005,2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/newWizards.exsd b/bundles/org.eclipse.rap.ui/schema/newWizards.exsd
index 05aa40ebe6..fbb3987ec2 100755
--- a/bundles/org.eclipse.rap.ui/schema/newWizards.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/newWizards.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="newWizards" name="Creation Wizards"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point is used to register resource creation wizard extensions. Creation wizards appear as choices within the &quot;New Dialog&quot;, and are typically used to create folders and files.
&lt;p&gt;
@@ -18,6 +18,11 @@ Wizards may optionally specify a description subelement whose body should contai
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="category"/>
@@ -43,9 +48,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
an optional name of the extension instance
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -65,9 +70,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a translatable name of the category that will be used in the dialog box
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="parentCategory" type="string">
@@ -75,9 +80,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a path to another category if this category should be added as a child
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.newWizards/category/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -88,6 +93,7 @@ Wizards may optionally specify a description subelement whose body should contai
<sequence>
<element ref="description" minOccurs="0" maxOccurs="1"/>
<element ref="selection" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="keywordReference" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
@@ -101,9 +107,9 @@ Wizards may optionally specify a description subelement whose body should contai
<documentation>
a translatable name of the wizard that will be used in the dialog box
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
@@ -112,9 +118,9 @@ Wizards may optionally specify a description subelement whose body should contai
a relative path of an icon that will be used together with the name to represent the wizard
as one of the choices in the creation dialog box.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="category" type="string">
@@ -125,9 +131,6 @@ path must represent a valid category ID previously defined
by this or some other plug-in. If omitted, the wizard will be
added to the &quot;Other&quot; category.
</documentation>
- <appinfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.ui.newWizards/category/@id"/>
- </appinfo>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
@@ -135,9 +138,9 @@ added to the &quot;Other&quot; category.
<documentation>
a fully qualified name of the Java class implementing &lt;samp&gt;org.eclipse.ui.INewWizard&lt;/samp&gt;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.Wizard:org.eclipse.ui.INewWizard"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="project" type="boolean">
@@ -153,9 +156,9 @@ Also causes the wizard to appear as a choice within the &quot;New Project Dialog
<documentation>
an optional attribute which identifies a perspective to activate when IProject resource creation is finished.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.perspectives/perspective/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="preferredPerspectives" type="string">
@@ -165,7 +168,6 @@ Also causes the wizard to appear as a choice within the &quot;New Project Dialog
</documentation>
</annotation>
</attribute>
- <!-- RAP [bm]: help
<attribute name="helpHref" type="string">
<annotation>
<documentation>
@@ -176,7 +178,6 @@ Since 3.0
</documentation>
</annotation>
</attribute>
- -->
<attribute name="descriptionImage" type="string">
<annotation>
<documentation>
@@ -185,9 +186,9 @@ Since 3.0
Since 3.0
&lt;/p&gt;
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="canFinishEarly" type="boolean">
@@ -209,6 +210,9 @@ Since 3.0
<element name="description" type="string">
<annotation>
+ <appInfo>
+ <meta.element translatable="true"/>
+ </appInfo>
<documentation>
an optional subelement whose body contains a short text describing what the wizard will do when started
</documentation>
@@ -222,9 +226,9 @@ Since 3.0
<documentation>
a fully qualified class name. If each object in the workbench selection implements this interface the selection will be passed to the wizard. Otherwise, an empty selection is passed
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="name" type="string">
@@ -249,18 +253,38 @@ Since 3.0
<documentation>
the id of a wizard that should be made primary.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.newWizards/wizard/@id"/>
- </appinfo>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="keywordReference">
+ <annotation>
+ <documentation>
+ A reference by a New Wizard to a keyword. See the keywords extension point.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the keyword being referred to.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.keywords/keyword/@id"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
Following is an example of creation wizard configuration:
&lt;p&gt;
@@ -293,9 +317,9 @@ Since 3.0
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
The value of the class attribute must represent a class
that implements &lt;samp&gt;org.eclipse.ui.INewWizard&lt;/samp&gt;.
@@ -308,11 +332,10 @@ appear standalone as a separate dialog box.
</annotation>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
The workbench comes with wizards for creating empty
resources of the following types:
@@ -324,9 +347,9 @@ particular platform installation.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2002, 2005 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/perspectiveExtensions.exsd b/bundles/org.eclipse.rap.ui/schema/perspectiveExtensions.exsd
index 69d2984519..4a1b7050f8 100755
--- a/bundles/org.eclipse.rap.ui/schema/perspectiveExtensions.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/perspectiveExtensions.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="perspectiveExtensions" name="Perspective Extensions"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point is used to extend perspectives
registered by other plug-ins. A perspective defines
@@ -20,9 +20,9 @@ are appended to the initial definition.
<element name="extension">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element />
- </appinfo>
+ </appInfo>
</annotation>
<complexType>
<sequence>
@@ -47,9 +47,9 @@ are appended to the initial definition.
<documentation>
an optional name of the extension instance
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -57,9 +57,9 @@ are appended to the initial definition.
<element name="perspectiveExtension">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="targetID"/>
- </appinfo>
+ </appInfo>
</annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
@@ -69,16 +69,24 @@ are appended to the initial definition.
<element ref="newWizardShortcut"/>
<element ref="view"/>
<element ref="showInPart"/>
+ <element ref="hiddenMenuItem"/>
+ <element ref="hiddenToolBarItem"/>
</choice>
- <attribute name="targetID" type="string" use="required">
+ <attribute name="targetID" use="required">
<annotation>
<documentation>
the unique identifier of the perspective (as specified in the registry) into which the contribution is made. If the value is set to &quot;*&quot; the extension is applied to all perspectives.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.perspectives/perspective/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="*">
+ </enumeration>
+ </restriction>
+ </simpleType>
</attribute>
</complexType>
</element>
@@ -90,9 +98,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of the action set which will be added to the perspective.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.actionSets/actionSet/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -105,9 +113,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of the view which will be added to the perspective&apos;s &quot;Show View&quot; submenu of the &quot;Window&quot; menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.views/view/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -120,9 +128,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of the perspective which will be added to the perspective&apos;s &quot;Open Perspective&quot; submenu of the &quot;Window&quot; menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.perspectives/perspective/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -135,9 +143,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of the new wizard which will be added to the perspective&apos;s &quot;New&quot; submenu of the &quot;File&quot; menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.newWizards/wizard/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -150,9 +158,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of the view which will be added to the perspective&apos;s &quot;Show In...&quot; prompter in the Navigate menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.views/view/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -165,9 +173,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of the view which will be added to the perspective layout.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.views/view/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="relative">
@@ -175,9 +183,9 @@ are appended to the initial definition.
<documentation>
the unique identifier of a view which already exists in the perspective. This will be used as a reference point for placement of the view. The relationship between these two views is defined by &lt;samp&gt;relationship&lt;/samp&gt;. Ignored if relationship is &quot;fast&quot;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.views/view/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
<simpleType>
<restriction base="string">
@@ -272,10 +280,38 @@ If this attribute is not used, the view will be moveable, unless the perspective
</complexType>
</element>
+ <element name="hiddenMenuItem">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The unique identifier of the Command which is to be removed from the menu.
+
+&lt;strong&gt;WARNING:&lt;/strong&gt; This is considered to be a &apos;Product level&apos; extension and should not be used in consumable plugins without great care.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="hiddenToolBarItem">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The unique identifier of the Command which is to be removed from thetoolbar.
+
+&lt;strong&gt;WARNING:&lt;/strong&gt; This is considered to be a &apos;Product level&apos; extension and should not be used in consumable plugins without great care.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of a perspective extension (note the subelements and the way attributes are used):
&lt;p&gt;
@@ -311,9 +347,9 @@ added beside the Resource Navigator.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
The items defined within the perspective extension are contributed to the initial contents of the target perspective. Following this, the user may remove any contribution or add others to a perspective from within the workbench user interface.
</documentation>
@@ -322,9 +358,9 @@ added beside the Resource Navigator.
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2002, 2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/popupMenus.exsd b/bundles/org.eclipse.rap.ui/schema/popupMenus.exsd
index 14bf9ca5a5..a11169021a 100755
--- a/bundles/org.eclipse.rap.ui/schema/popupMenus.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/popupMenus.exsd
@@ -2,11 +2,11 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.ui" id="popupMenus" name="Pop-up Menus"/>
- </appinfo>
+ </appInfo>
<documentation>
- This extension point is used to add new actions to context menus owned by other plug-ins. Action contributions may be made against a specific object type (&lt;samp&gt;objectContribution&lt;/samp&gt;) or against a specific context menu of a view or editor part (&lt;samp&gt;viewerContribution&lt;/samp&gt;). When using &lt;samp&gt;objectContribution&lt;/samp&gt;, the contribution will appear in all view or editor part context menus where objects of the specified type are selected. In contrast, using &lt;samp&gt;viewerContribution&lt;/samp&gt;, the contribution will only appear in the specified view or editor part context menu, regardless of the selection.
+ This extension point is used to add new actions to context menus owned by other plug-ins. Action contributions may be made against a specific object type (&lt;samp&gt;objectContribution&lt;/samp&gt;) or against a specific context menu of a view or editor part (&lt;samp&gt;viewerContribution&lt;/samp&gt;). When using &lt;samp&gt;objectContribution&lt;/samp&gt;, the contribution will appear in all view or editor part context menus where objects of the specified type are selected. In contrast, using &lt;samp&gt;viewerContribution&lt;/samp&gt;, the contribution will only appear in the specified context menu of a view or editor, regardless of the selection.
&lt;p&gt;
You can now use &lt;a href=&quot;org_eclipse_ui_menus.html&quot;&gt;org.eclipse.ui.menus&lt;/a&gt; to place commands editor or view contexts menus as well.
&lt;/p&gt;
@@ -18,6 +18,8 @@ Selection can be further constrained through the use of a name filter. If used,
Individual actions in an object contribution can use the attribute &lt;code&gt;enablesFor&lt;/code&gt; to specify if it should only apply for a single, multiple, or any other selection type.
&lt;p&gt;
If these filtering mechanisms are inadequate an action contribution may use the &lt;samp&gt;filter&lt;/samp&gt; mechanism. In this case the attributes of the target object are described in a series of name-value pairs. The attributes which apply to the selection are type-specific and beyond the domain of the workbench itself, so the workbench will delegate filtering at this level to the actual selection.
+&lt;p&gt;
+The &lt;code&gt;objectContribution&lt;/code&gt; element uses the core expression &lt;code&gt;enablement&lt;/code&gt;, as defined in &lt;a href=&quot;org_eclipse_core_expressions_definitions.html&quot;&gt;org.eclipse.core.expressions.definitions&lt;/a&gt;.
</documentation>
</annotation>
@@ -28,6 +30,11 @@ If these filtering mechanisms are inadequate an action contribution may use the
<include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="objectContribution" minOccurs="0" maxOccurs="unbounded"/>
@@ -45,9 +52,9 @@ If these filtering mechanisms are inadequate an action contribution may use the
<documentation>
an optional identifier of the extension instance
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="name" type="string">
@@ -63,7 +70,7 @@ If these filtering mechanisms are inadequate an action contribution may use the
<element name="objectContribution">
<annotation>
<documentation>
- This element is used to define a group of actions and/or menus for any viewer context menus for which the objects of the specified type are selected.
+ This element is used to define a group of actions and/or menus for any viewer context menus for which the objects of the specified type are selected. &lt;code&gt;enablement&lt;/code&gt; in this element refers to core expression enablement, as defined in &lt;a href=&quot;org_eclipse_core_expressions_definitions.html&quot;&gt;org.eclipse.core.expressions.definitions&lt;/a&gt;, and affects the enablement of the objectContribution not the contained actions.
</documentation>
</annotation>
<complexType>
@@ -87,9 +94,9 @@ If these filtering mechanisms are inadequate an action contribution may use the
a fully qualified name of the class or interface that all objects in the
selection must subclass or implement.
</documentation>
- <appinfo>
- <meta.attribute kind="java" basedOn="java.lang.object"/>
- </appinfo>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="java.lang.Object"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="nameFilter" type="string">
@@ -131,7 +138,7 @@ selection must subclass or implement.
<attribute name="targetID" type="string" use="required">
<annotation>
<documentation>
- the unique identifier of a context menu inside a view or editor part.
+ the unique identifier of a context menu inside a view or editor part. The ID is defined in the call to &lt;code&gt;getSite().registerContextMenu(*)&lt;/code&gt;. If not specified when registered, it defaults to the view or editor ID.
</documentation>
</annotation>
</attribute>
@@ -140,9 +147,9 @@ selection must subclass or implement.
<element name="action">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="label" icon="icon"/>
- </appinfo>
+ </appInfo>
<documentation>
This element defines an action that the user can invoke in the UI.
</documentation>
@@ -165,9 +172,9 @@ selection must subclass or implement.
<documentation>
a translatable name used as the menu item text. The name can include mnenomic information.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="definitionId" type="string">
@@ -175,9 +182,9 @@ selection must subclass or implement.
<documentation>
This specifies the command that this action is handling. This is used to decide which key binding to display in the pop-up menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="menubarPath" type="string">
@@ -193,12 +200,11 @@ selection must subclass or implement.
a relative path of an icon used to visually represent the action in its context.
The path is relative to the location of the plugin.xml file of the contributing plug-in.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
- <!-- RAP [bm] not used
<attribute name="helpContextId" type="string">
<annotation>
<documentation>
@@ -206,7 +212,6 @@ The path is relative to the location of the plugin.xml file of the contributing
</documentation>
</annotation>
</attribute>
- -->
<attribute name="style">
<annotation>
<documentation>
@@ -260,9 +265,9 @@ The path is relative to the location of the plugin.xml file of the contributing
<documentation>
a name of the fully qualified class that implements &lt;samp&gt;org.eclipse.ui.IObjectActionDelegate&lt;/samp&gt; (for object contributions), &lt;samp&gt;org.eclipse.ui.IViewActionDelegate&lt;/samp&gt; (for viewer contributions to a view part), or &lt;samp&gt;org.eclipse.ui.IEditorActionDelegate&lt;/samp&gt; (for viewer contributions to an editor part). For backwards compatibility, &lt;samp&gt;org.eclipse.ui.IActionDelegate&lt;/samp&gt; may be implemented for object contributions.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="enablesFor" type="string">
@@ -320,9 +325,9 @@ within its &lt;samp&gt;selectionChanged&lt;/samp&gt; method.
<documentation>
an optional attribute that specifies the identifier of an action which this action overrides. The action represented by this identifier will not be contributed to the context menu. The action identifier must be from a prerequisite plug-in only. This attribute is only applicable to action elements of an object contribution.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.popupMenus/objectContribution/action/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="tooltip" type="string">
@@ -330,9 +335,9 @@ within its &lt;samp&gt;selectionChanged&lt;/samp&gt; method.
<documentation>
a translatable text representing the action&apos;s tool tip. Only used if the action appears in the toolbar.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -340,9 +345,9 @@ within its &lt;samp&gt;selectionChanged&lt;/samp&gt; method.
<element name="filter">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="name"/>
- </appinfo>
+ </appInfo>
<documentation>
This element is used to evaluate the attribute state of each object in the current selection. A match only if each object in the selection has the specified attribute state. Each object in the selection must implement, or adapt to, &lt;samp&gt;org.eclipse.ui.IActionFilter&lt;/samp&gt;.
</documentation>
@@ -404,18 +409,113 @@ within its &lt;samp&gt;selectionChanged&lt;/samp&gt; method.
<documentation>
A class that implements one of the interfaces listed for the class attribute. It may also implement &lt;code&gt;org.eclipse.core.runtime.IExecutableExtension&lt;/code&gt;.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ The value of the action attribute &lt;samp&gt;class&lt;/samp&gt;
+must be a fully qualified class name of a Java class
+that implements &lt;samp&gt;org.eclipse.ui.IObjectActionDelegate&lt;/samp&gt;
+in the case of object contributions,
+&lt;samp&gt;org.eclipse.ui.IViewActionDelegate&lt;/samp&gt;
+for contributions to context menus that belong to views,
+or &lt;samp&gt;org.eclipse.ui.IEditorActionDelegate&lt;/samp&gt;
+for contributions to context menus that belong to editors.
+In all cases, the implementing class is loaded as late
+as possible to avoid loading the entire plug-in before
+it is really needed.
+&lt;p&gt;
+Note: For backwards compatibility,
+&lt;samp&gt;org.eclipse.ui.IActionDelegate&lt;/samp&gt; may be
+implemented for object contributions.
+&lt;p&gt;
+Conext menu extension within a part is only possible
+when the target part publishes a menu for extension.
+This is strongly encouraged, as it improves the
+extensibility of the product. To accomplish this
+each part should publish any context menus which are
+defined by calling
+&lt;samp&gt;IWorkbenchPartSite.registerContextMenu&lt;/samp&gt;.
+Once this has been done the workbench will
+automatically insert any action extensions which exist.
+&lt;p&gt;
+A menu id must be provided for each registered menu.
+For consistency across parts the following strategy
+should be adopted by all part implementors.
+&lt;p&gt;
+&lt;ul&gt;
+&lt;li&gt;
+If the target part has only one context menu it
+should be registered with id == part id. This can be
+done easily by calling
+&lt;samp&gt;registerContextMenu(MenuManager, ISelectionProvider)&lt;/samp&gt;.
+Extenders may use the part id itself as the targetID for
+the action extension. &lt;/li&gt;
+&lt;li&gt;
+If the target part has more than one context menu a
+unique id should be defined for each. Prefix each id
+with the part id and publish these id&apos;s within
+the javadoc for the target part. Register each
+menu at runtime by calling
+&lt;samp&gt;registerContextMenu(String, MenuManager, ISelectionProvider)&lt;/samp&gt;.
+Extenders will use the unique menu id as the targetID
+for the action extension. &lt;/li&gt;&lt;/ul&gt;
+&lt;p&gt;
+Any context menu which is registered with the workbench
+also should contain a standard insertion point with id
+&lt;samp&gt;IWorkbenchActionConstants.MB_ADDITIONS&lt;/samp&gt;.
+Other plug-ins will use this value as a reference
+point for insertion. The insertion point may be
+defined by adding a GroupMarker to the menu at an
+appropriate location for insertion.
+&lt;p&gt;
+An object in the workbench which is the selection
+in a context menu may define an
+&lt;samp&gt;org.eclipse.ui.IActionFilter&lt;/samp&gt;. This is a
+filtering strategy which can perform type specific
+filtering. The workbench will retrieve the filter
+for the selection by testing to see if it implements
+&lt;samp&gt;IActionFilter&lt;/samp&gt;. If that fails, the
+workbench will ask for a filter through the
+&lt;samp&gt;IAdaptable&lt;/samp&gt; mechanism.
+&lt;p&gt;
+Action and menu labels may contain special characters that encode mnemonics which are specified using the ampersand (&apos;&amp;amp;&apos;) character in front of a selected character in the translated text. Since ampersand is not allowed in XML strings, use &lt;samp&gt;&amp;amp;amp;&lt;/samp&gt; character entity.
+&lt;p&gt;
+If two or more actions are contributed to a menu by a single extension the actions will appear in the reverse order of how they are listed in the plugin.xml file. This behavior is admittedly unintuitive. However, it was discovered after the Eclipse Platform API was frozen. Changing the behavior now would break every plug-in which relies upon the existing behavior.
+&lt;p&gt;
+The &lt;samp&gt;selection&lt;/samp&gt; and &lt;samp&gt;enablement&lt;/samp&gt; elements are mutually exclusive. The &lt;samp&gt;enablement&lt;/samp&gt; element can replace the &lt;samp&gt;selection&lt;/samp&gt; element using the sub-elements &lt;samp&gt;objectClass&lt;/samp&gt; and &lt;samp&gt;objectState&lt;/samp&gt;. For example, the following:
+&lt;pre&gt;
+ &lt;selection
+ class=&quot;org.eclipse.core.resources.IFile&quot;
+ name=&quot;*.java&quot;&gt;
+ &lt;/selection&gt;
+&lt;/pre&gt;
+can be expressed using:
+&lt;pre&gt;
+ &lt;enablement&gt;
+ &lt;and&gt;
+ &lt;objectClass name=&quot;org.eclipse.core.resources.IFile&quot;/&gt;
+ &lt;objectState name=&quot;extension&quot; value=&quot;java&quot;/&gt;
+ &lt;/and&gt;
+ &lt;/enablement&gt;
+&lt;/pre&gt;
+ </documentation>
+ </annotation>
+
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of a pop-up menu extension point:
&lt;p&gt;
@@ -513,105 +613,9 @@ In the example above, the specified action will appear as a menu item in the Tas
</annotation>
<annotation>
- <appinfo>
- <meta.section type="apiInfo"/>
- </appinfo>
- <documentation>
- The value of the action attribute &lt;samp&gt;class&lt;/samp&gt;
-must be a fully qualified class name of a Java class
-that implements &lt;samp&gt;org.eclipse.ui.IObjectActionDelegate&lt;/samp&gt;
-in the case of object contributions,
-&lt;samp&gt;org.eclipse.ui.IViewActionDelegate&lt;/samp&gt;
-for contributions to context menus that belong to views,
-or &lt;samp&gt;org.eclipse.ui.IEditorActionDelegate&lt;/samp&gt;
-for contributions to context menus that belong to editors.
-In all cases, the implementing class is loaded as late
-as possible to avoid loading the entire plug-in before
-it is really needed.
-&lt;p&gt;
-Note: For backwards compatibility,
-&lt;samp&gt;org.eclipse.ui.IActionDelegate&lt;/samp&gt; may be
-implemented for object contributions.
-&lt;p&gt;
-Conext menu extension within a part is only possible
-when the target part publishes a menu for extension.
-This is strongly encouraged, as it improves the
-extensibility of the product. To accomplish this
-each part should publish any context menus which are
-defined by calling
-&lt;samp&gt;IWorkbenchPartSite.registerContextMenu&lt;/samp&gt;.
-Once this has been done the workbench will
-automatically insert any action extensions which exist.
-&lt;p&gt;
-A menu id must be provided for each registered menu.
-For consistency across parts the following strategy
-should be adopted by all part implementors.
-&lt;p&gt;
-&lt;ul&gt;
-&lt;li&gt;
-If the target part has only one context menu it
-should be registered with id == part id. This can be
-done easily by calling
-&lt;samp&gt;registerContextMenu(MenuManager, ISelectionProvider)&lt;/samp&gt;.
-Extenders may use the part id itself as the targetID for
-the action extension. &lt;/li&gt;
-&lt;li&gt;
-If the target part has more than one context menu a
-unique id should be defined for each. Prefix each id
-with the part id and publish these id&apos;s within
-the javadoc for the target part. Register each
-menu at runtime by calling
-&lt;samp&gt;registerContextMenu(String, MenuManager, ISelectionProvider)&lt;/samp&gt;.
-Extenders will use the unique menu id as the targetID
-for the action extension. &lt;/li&gt;&lt;/ul&gt;
-&lt;p&gt;
-Any context menu which is registered with the workbench
-also should contain a standard insertion point with id
-&lt;samp&gt;IWorkbenchActionConstants.MB_ADDITIONS&lt;/samp&gt;.
-Other plug-ins will use this value as a reference
-point for insertion. The insertion point may be
-defined by adding a GroupMarker to the menu at an
-appropriate location for insertion.
-&lt;p&gt;
-An object in the workbench which is the selection
-in a context menu may define an
-&lt;samp&gt;org.eclipse.ui.IActionFilter&lt;/samp&gt;. This is a
-filtering strategy which can perform type specific
-filtering. The workbench will retrieve the filter
-for the selection by testing to see if it implements
-&lt;samp&gt;IActionFilter&lt;/samp&gt;. If that fails, the
-workbench will ask for a filter through the
-&lt;samp&gt;IAdaptable&lt;/samp&gt; mechanism.
-&lt;p&gt;
-Action and menu labels may contain special characters that encode mnemonics which are specified using the ampersand (&apos;&amp;amp;&apos;) character in front of a selected character in the translated text. Since ampersand is not allowed in XML strings, use &lt;samp&gt;&amp;amp;amp;&lt;/samp&gt; character entity.
-&lt;p&gt;
-If two or more actions are contributed to a menu by a single extension the actions will appear in the reverse order of how they are listed in the plugin.xml file. This behavior is admittedly unintuitive. However, it was discovered after the Eclipse Platform API was frozen. Changing the behavior now would break every plug-in which relies upon the existing behavior.
-&lt;p&gt;
-The &lt;samp&gt;selection&lt;/samp&gt; and &lt;samp&gt;enablement&lt;/samp&gt; elements are mutually exclusive. The &lt;samp&gt;enablement&lt;/samp&gt; element can replace the &lt;samp&gt;selection&lt;/samp&gt; element using the sub-elements &lt;samp&gt;objectClass&lt;/samp&gt; and &lt;samp&gt;objectState&lt;/samp&gt;. For example, the following:
-&lt;pre&gt;
- &lt;selection
- class=&quot;org.eclipse.core.resources.IFile&quot;
- name=&quot;*.java&quot;&gt;
- &lt;/selection&gt;
-&lt;/pre&gt;
-can be expressed using:
-&lt;pre&gt;
- &lt;enablement&gt;
- &lt;and&gt;
- &lt;objectClass name=&quot;org.eclipse.core.resources.IFile&quot;/&gt;
- &lt;objectState name=&quot;extension&quot; value=&quot;java&quot;/&gt;
- &lt;/and&gt;
- &lt;/enablement&gt;
-&lt;/pre&gt;
- </documentation>
- </annotation>
-
-
-
- <annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
The workbench views have built-in context menus
that already come loaded with a number of actions.
@@ -624,9 +628,9 @@ the end of the pop-up menu.
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2000, 2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/preferenceTransfer.exsd b/bundles/org.eclipse.rap.ui/schema/preferenceTransfer.exsd
index f138c85480..5761b26a6f 100755
--- a/bundles/org.eclipse.rap.ui/schema/preferenceTransfer.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/preferenceTransfer.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" id="preferenceTransfer" name="Preference Transfer"/>
@@ -14,6 +14,11 @@ Typically this is used for operations such as Import and Export.
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="transfer" minOccurs="0" maxOccurs="unbounded"/>
@@ -148,10 +153,23 @@ default (org.eclipse.core.resources.ProjectScope.SCOPE)
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
- an attribute specifing a comma separated list of preference keys within the given node to be transferred, specifying the key attribute without specifying a matching node will result in a runtime error.
+ Specifies the preference key to be transferred. Specifying the key attribute without specifying a matching node will result in a runtime error.
</documentation>
</annotation>
</attribute>
+ <attribute name="match">
+ <annotation>
+ <documentation>
+ If match is set to &quot;prefix&quot;, all keys on the preference node that start with the specified name will be transferred. If the match type is not specified, only keys equal to the name will be included. Added in 3.6.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="prefix">
+ </enumeration>
+ </restriction>
+ </simpleType>
+ </attribute>
</complexType>
</element>
@@ -192,7 +210,6 @@ default (org.eclipse.core.resources.ProjectScope.SCOPE)
</appInfo>
</annotation>
</attribute>
- <!-- RAP [bm] help
<attribute name="helpContext" type="string">
<annotation>
<documentation>
@@ -200,7 +217,6 @@ default (org.eclipse.core.resources.ProjectScope.SCOPE)
</documentation>
</annotation>
</attribute>
- -->
</complexType>
</element>
@@ -267,10 +283,11 @@ default (org.eclipse.core.resources.ProjectScope.SCOPE)
id=&quot;org.eclipse.ui.tests.all&quot;&gt;
&lt;mapping scope=&quot;instance&quot;&gt;
&lt;entry node=&quot;org.eclipse.ui&quot;&gt;
- &lt;key name=&quot;showIntro,DOCK_PERSPECTIVE_BAR&quot;/&gt;
+ &lt;key name=&quot;DOCK_PERSPECTIVE_BAR&quot;/&gt;
&lt;/entry&gt;
&lt;entry node=&quot;org.eclipse.ui.workbench&quot;&gt;
- &lt;key name=&quot;bogus,RUN_IN_BACKGROUND&quot;/&gt;
+ &lt;key name=&quot;RUN_IN_BACKGROUND&quot;/&gt;
+ &lt;key name=&quot;OPEN_&quot; match=&quot;prefix&quot;/&gt;
&lt;/entry&gt;
&lt;entry node=&quot;org.eclipse.ui.ide&quot;/&gt;
&lt;entry node=&quot;org.eclipse.core.resources&quot;/&gt;
@@ -286,30 +303,14 @@ default (org.eclipse.core.resources.ProjectScope.SCOPE)
</documentation>
</annotation>
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2005, 2006 IBM Corporation and others.&lt;br&gt;
+ Copyright (c) 2005, 2009 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
diff --git a/bundles/org.eclipse.rap.ui/schema/propertiesView.exsd b/bundles/org.eclipse.rap.ui/schema/propertiesView.exsd
new file mode 100644
index 0000000000..2d00bdbb1d
--- /dev/null
+++ b/bundles/org.eclipse.rap.ui/schema/propertiesView.exsd
@@ -0,0 +1,111 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.ui" id="propertiesView" name="Properties view"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to modify behavior of the Properties view.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="excludeSources" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="excludeSources">
+ <annotation>
+ <documentation>
+ Use this element to exclude a workbench part from participating in the Properties view.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The unique id of the excluded workbench part.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 3.6
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ The following example demonstrates how to exclude a view:
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.ui.propertiesView&quot;&gt;
+ &lt;excludeSource id=&quot;org.eclipse.help.ui.HelpView&quot;/&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+The same code pattern can be used to exclude editors.
+ </documentation>
+ </annotation>
+
+
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2009 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>
diff --git a/bundles/org.eclipse.rap.ui/schema/services.exsd b/bundles/org.eclipse.rap.ui/schema/services.exsd
index 7b3f735f19..b30b5673ea 100755
--- a/bundles/org.eclipse.rap.ui/schema/services.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/services.exsd
@@ -141,7 +141,7 @@ Services must follow a general contract:
<attribute name="priorityLevel" use="required">
<annotation>
<documentation>
- For conflict resolution used by services like the IHandlerService, contributed source variables must assign a priority. &lt;b&gt;workbench&lt;/b&gt; is the global default priority. See &lt;code&gt;ISources&lt;/code&gt; for relative priority information.
+ For conflict resolution used by services like the IHandlerService. The source must select a priority for all contributed variables. &lt;b&gt;workbench&lt;/b&gt; is the global default priority. See &lt;code&gt;ISources&lt;/code&gt; for relative priority information.
</documentation>
</annotation>
<simpleType>
@@ -218,7 +218,6 @@ Please see &lt;code&gt;org.eclipse.ui.services.AbstractServiceFactory&lt;/code&g
</annotation>
-
<annotation>
<appinfo>
<meta.section type="copyright"/>
diff --git a/bundles/org.eclipse.rap.ui/schema/startup.exsd b/bundles/org.eclipse.rap.ui/schema/startup.exsd
index 9d3a5359c2..138f8b632f 100755
--- a/bundles/org.eclipse.rap.ui/schema/startup.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/startup.exsd
@@ -71,7 +71,7 @@ Since release 3.0.
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>
diff --git a/bundles/org.eclipse.rap.ui/schema/statusHandlers.exsd b/bundles/org.eclipse.rap.ui/schema/statusHandlers.exsd
index ee65d4d26f..d8667e691f 100755
--- a/bundles/org.eclipse.rap.ui/schema/statusHandlers.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/statusHandlers.exsd
@@ -1,10 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appInfo>
+ <appinfo>
<meta.schema plugin="org.eclipse.ui" id="statusHandlers" name="Status handlers"/>
- </appInfo>
+ </appinfo>
<documentation>
&lt;p&gt;
This extension point is used to register implementations of status handlers in the workbench. A handler can be associated with a product and this association is also contributed via this extension point.
@@ -21,6 +21,11 @@ If there is no status handler associated with a product, the status handling fac
</annotation>
<element name="extension">
+ <annotation>
+ <appinfo>
+ <meta.element />
+ </appinfo>
+ </annotation>
<complexType>
<sequence>
<element ref="statusHandler" minOccurs="0" maxOccurs="unbounded"/>
@@ -45,9 +50,9 @@ If there is no status handler associated with a product, the status handling fac
<documentation>
</documentation>
- <appInfo>
+ <appinfo>
<meta.attribute translatable="true"/>
- </appInfo>
+ </appinfo>
</annotation>
</attribute>
</complexType>
@@ -81,12 +86,12 @@ The name of the preference file is set in product extension
<annotation>
<documentation>
&lt;p&gt;
-A fully qualified name of a class which extends &lt;code&gt;org.eclipse.ui.errors.AbstractStatusHandler&lt;/code&gt;.
+A fully qualified name of a class which extends &lt;code&gt;org.eclipse.ui.statushandlers.AbstractStatusHandler&lt;/code&gt;.
&lt;/p&gt;
</documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.ui.errors.AbstractStatusHandler"/>
- </appInfo>
+ <appinfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.ui.statushandlers.AbstractStatusHandler"/>
+ </appinfo>
</annotation>
</attribute>
</complexType>
@@ -94,9 +99,9 @@ A fully qualified name of a class which extends &lt;code&gt;org.eclipse.ui.error
<element name="parameter">
<annotation>
- <appInfo>
+ <appinfo>
<meta.element labelAttribute="name"/>
- </appInfo>
+ </appinfo>
<documentation>
&lt;p&gt;
This element defines parameters for instances of specified status handler class.
@@ -155,18 +160,18 @@ These bindings determine which handler is appropriate for the current product (a
</element>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="since"/>
- </appInfo>
+ </appinfo>
<documentation>
3.3
</documentation>
</annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="examples"/>
- </appInfo>
+ </appinfo>
<documentation>
&lt;p&gt;
The following is an example of the definition for handler with prefix parameter.
@@ -223,9 +228,9 @@ The handler can be defined in other plugin.
</annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="apiInfo"/>
- </appInfo>
+ </appinfo>
<documentation>
&lt;/p&gt;
The value of the &lt;code&gt;class&lt;/code&gt; attribute in &lt;code&gt;statusHandler&lt;/code&gt; element must be the fully qualified name of a class that extends &lt;code&gt;org.eclipse.ui.statushandlers.AbstractStatusHandler&lt;/code&gt;.
@@ -240,9 +245,9 @@ The value of the &lt;code&gt;productId&lt;/code&gt; attribute in &lt;code&gt;sta
</annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="implementation"/>
- </appInfo>
+ </appinfo>
<documentation>
&lt;p&gt;
The platform supplies basic implementation of &lt;code&gt;org.eclipse.ui.statushandlers.AbstractStatusHandler&lt;/code&gt;.
@@ -252,9 +257,9 @@ It is &lt;code&gt;org.eclipse.ui.statushandlers.WorkbenchErrorHandler&lt;/code&g
</annotation>
<annotation>
- <appInfo>
+ <appinfo>
<meta.section type="copyright"/>
- </appInfo>
+ </appinfo>
<documentation>
Copyright (c) 2006, 2007 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
diff --git a/bundles/org.eclipse.rap.ui/schema/systemSummarySections.exsd b/bundles/org.eclipse.rap.ui/schema/systemSummarySections.exsd
index 083dee5fc8..9ad1e397f1 100755
--- a/bundles/org.eclipse.rap.ui/schema/systemSummarySections.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/systemSummarySections.exsd
@@ -1,16 +1,21 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.ui">
+<schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" id="systemSummarySections" name="System Summary Sections"/>
</appInfo>
<documentation>
- The Eclipse UI provides an AboutDialog that can be branded and reused by client product plugins. This dialog includes a SystemSummary dialog that contains configuration details. By extending the org.eclipse.ui.systemSummarySections extension point clients are able to put their own information into the log.
+ The Eclipse UI provides an AboutDialog that can be branded and reused by client product plugins. This dialog includes SystemSummary information that contains configuration details. By extending the org.eclipse.ui.systemSummarySections extension point clients are able to put their own information into the log.
</documentation>
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="section" minOccurs="1" maxOccurs="unbounded"/>
@@ -64,11 +69,11 @@
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
- The fully qualified name of a class the implements
+ The fully qualified name of a class that implements
&lt;code&gt;org.eclipse.ui.about.ISystemSummarySection&lt;/code&gt;. The class must provide a default constructor.
</documentation>
<appInfo>
- <meta.attribute kind="java"/>
+ <meta.attribute kind="java" basedOn="org.eclipse.ui.about.ISystemSummarySection"/>
</appInfo>
</annotation>
</attribute>
diff --git a/bundles/org.eclipse.rap.ui/schema/themes.exsd b/bundles/org.eclipse.rap.ui/schema/themes.exsd
index b6a1c5900f..ce88415003 100755
--- a/bundles/org.eclipse.rap.ui/schema/themes.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/themes.exsd
@@ -374,6 +374,9 @@ Unlike a &lt;code&gt;fontDefinition&lt;/code&gt;, you may not supply a &lt;code&
<element name="description" type="string">
<annotation>
+ <appInfo>
+ <meta.element translatable="true"/>
+ </appInfo>
<documentation>
A short description of the elements usage.
</documentation>
diff --git a/bundles/org.eclipse.rap.ui/schema/viewActions.exsd b/bundles/org.eclipse.rap.ui/schema/viewActions.exsd
index cb1ce9f971..64dc29490c 100755
--- a/bundles/org.eclipse.rap.ui/schema/viewActions.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/viewActions.exsd
@@ -19,6 +19,11 @@ You can now use &lt;a href=&quot;org_eclipse_ui_menus.html&quot;&gt;org.eclipse.
<include schemaLocation="commonExpression.exsd"/>
<element name="extension">
+ <annotation>
+ <appinfo>
+ <meta.element />
+ </appinfo>
+ </annotation>
<complexType>
<sequence>
<element ref="viewContribution" minOccurs="1" maxOccurs="unbounded"/>
@@ -112,6 +117,16 @@ You can now use &lt;a href=&quot;org_eclipse_ui_menus.html&quot;&gt;org.eclipse.
</appinfo>
</annotation>
</attribute>
+ <attribute name="definitionId" type="string">
+ <annotation>
+ <documentation>
+ Specifies the command that this action will handle. By specifying and action, the key binding service can assign a key sequence to this action. See the extension point &lt;a href=&quot;org_eclipse_ui_commands.html&quot;&gt;org.eclipse.ui.commands&lt;/a&gt; for more information.
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
+ </appinfo>
+ </annotation>
+ </attribute>
<attribute name="menubarPath" type="string">
<annotation>
<documentation>
@@ -194,7 +209,11 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
&lt;td valign=&quot;top&quot; nowrap&gt;&lt;b&gt;toggle&lt;/b&gt;&lt;/td&gt;
&lt;td valign=&quot;top&quot;&gt;- as a checked style menu item or as a toggle tool item. The initial value is specified by the &lt;samp&gt;state&lt;/samp&gt; attribute.&lt;/td&gt;
&lt;/tr&gt;
- &lt;/table&gt;
+ &lt;tr&gt;
+ &lt;td valign=&quot;top&quot; width=&quot;25&quot;&gt;&lt;/td&gt;
+ &lt;td valign=&quot;top&quot; nowrap&gt;&lt;b&gt;pulldown&lt;/b&gt;&lt;/td&gt;
+ &lt;td valign=&quot;top&quot;&gt;- as a pulldown tool item. The initial value is specified by the &lt;samp&gt;state&lt;/samp&gt; attribute.&lt;/td&gt;
+ &lt;/tr&gt; &lt;/table&gt;
</documentation>
</annotation>
<simpleType>
@@ -205,6 +224,8 @@ If omitted and the action appears in the toolbar, the Workbench will use a place
</enumeration>
<enumeration value="toggle">
</enumeration>
+ <enumeration value="pulldown">
+ </enumeration>
</restriction>
</simpleType>
</attribute>
@@ -459,7 +480,6 @@ can be expressed using:
</annotation>
-
<annotation>
<appinfo>
<meta.section type="implementation"/>
diff --git a/bundles/org.eclipse.rap.ui/schema/views.exsd b/bundles/org.eclipse.rap.ui/schema/views.exsd
index dcfababe27..67abc79d91 100755
--- a/bundles/org.eclipse.rap.ui/schema/views.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/views.exsd
@@ -174,6 +174,9 @@ Since: 3.4
<element name="description" type="string">
<annotation>
+ <appInfo>
+ <meta.element translatable="true"/>
+ </appInfo>
<documentation>
an optional subelement whose body should contain text providing a short description of the view.
</documentation>
diff --git a/bundles/org.eclipse.rap.ui/schema/workingSets.exsd b/bundles/org.eclipse.rap.ui/schema/workingSets.exsd
index 457520d05c..233739cee5 100755
--- a/bundles/org.eclipse.rap.ui/schema/workingSets.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/workingSets.exsd
@@ -130,7 +130,7 @@ Added in 3.4.
<meta.section type="since"/>
</appInfo>
<documentation>
- Release 2.0
+ 2.0
</documentation>
</annotation>

Back to the top