Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-06-30 19:58:35 +0000
committerDarin Wright2010-06-30 19:58:35 +0000
commitb59e172f0d295c8ff5f3a40507003bbe9bbed943 (patch)
treea7515f738652c8dd430da0031dd7b1745b73c5de /org.eclipse.debug.ui/schema
parent5201c90d2409faa641775bf94ab0136f9233489e (diff)
downloadeclipse.platform.debug-b59e172f0d295c8ff5f3a40507003bbe9bbed943.tar.gz
eclipse.platform.debug-b59e172f0d295c8ff5f3a40507003bbe9bbed943.tar.xz
eclipse.platform.debug-b59e172f0d295c8ff5f3a40507003bbe9bbed943.zip
Bug 318409 - Run as context menu vanishes in project explorer
Diffstat (limited to 'org.eclipse.debug.ui/schema')
-rw-r--r--org.eclipse.debug.ui/schema/launchShortcuts.exsd78
1 files changed, 45 insertions, 33 deletions
diff --git a/org.eclipse.debug.ui/schema/launchShortcuts.exsd b/org.eclipse.debug.ui/schema/launchShortcuts.exsd
index 53d015654..d2e1f99ab 100644
--- a/org.eclipse.debug.ui/schema/launchShortcuts.exsd
+++ b/org.eclipse.debug.ui/schema/launchShortcuts.exsd
@@ -2,9 +2,9 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.debug.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.debug.ui" id="launchShortcuts" name="Launch Shortcuts"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point provides support for selection sensitive launching. Extensions register a shortcut which
appears in the run and/or debug cascade menus to launch the workbench selection or active editor.
@@ -14,6 +14,11 @@ appears in the run and/or debug cascade menus to launch the workbench selection
<include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="shortcut" minOccurs="0" maxOccurs="unbounded"/>
@@ -44,9 +49,9 @@ appears in the run and/or debug cascade menus to launch the workbench selection
<element name="shortcut">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element labelAttribute="label"/>
- </appinfo>
+ </appInfo>
</annotation>
<complexType>
<sequence>
@@ -78,9 +83,9 @@ appears in the run and/or debug cascade menus to launch the workbench selection
New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortcut2&lt;/code&gt; to participate in context sensitive launching of resource and non-resource based artifacts.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.debug.ui.ILaunchShortcut"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="label" type="string" use="required">
@@ -88,9 +93,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
specifies a label used to render this shortcut.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
@@ -98,9 +103,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
specifies a plugin-relative path to an image used to render this shortcut. Icon is optional because it is up to other plugins (i.e. Views) to render it.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="resource"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="category" type="string">
@@ -108,9 +113,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
specifies the launch configuration type category this shortcut is applicable for. When unspecified, the category is &lt;code&gt;null&lt;/code&gt; (default).
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.debug.core.launchConfigurationTypes/launchConfigurationType/@category"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="helpContextId" type="string">
@@ -132,9 +137,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
Provides a human readable description of what the shortcut does (or will do) if the user selects it. A Description provided in this field will apply as the default description for all of the modes listed in the modes attribute. This attribute was added in the 3.3 release.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -142,9 +147,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<element name="perspective">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element deprecated="true"/>
- </appinfo>
+ </appInfo>
<documentation>
The &lt;code&gt;perspective&lt;/code&gt; element has been &lt;b&gt;deprecated&lt;/b&gt; in the 3.1 release. The top level Run/Debug/Profile cascade menus now support contextual (selection sensitive) launching, and clients should provide a &lt;code&gt;contextualLaunch&lt;/code&gt; element instead.
</documentation>
@@ -155,9 +160,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
the unique identifier of a perspective in which a menu shortcut for this launch shortcut will appear.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.perspectives/perspective/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -189,9 +194,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
specifies a mode from the set {&quot;run&quot;,&quot;debug&quot;,&quot;profile&quot;}
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.debug.core.launchModes/launchMode/@mode"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="label" type="string" use="required">
@@ -199,9 +204,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
specifies the label to appear in the contextual launch menu.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -219,9 +224,9 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
This attribute is the identifier of an existing launch configuration type that is to be associated with this launch shortcut. This association is then used to determine what launch shortcuts apply to what types for context sensitive launching.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.debug.core.launchConfigurationTypes/launchConfigurationType/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -246,18 +251,18 @@ New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortc
<documentation>
The desciption for this launch shortcut when invoked in the associated mode.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of the Java Application launch shortcut contribution with an enablement expression, an associated launch configuration type id and descriptions for run and debug mode:
@@ -314,9 +319,9 @@ For more information on property testers see &lt;code&gt;org.eclipse.core.expres
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="apiInfo"/>
- </appinfo>
+ </appInfo>
<documentation>
&lt;p&gt;
Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the
@@ -398,12 +403,19 @@ Example of a description for the run mode only:
</annotation>
-
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ No launch shortcuts are provided by the platform. Note that although launch shortcuts do not have to be associated with a specific launch configuration type, launch shortcut menus will not appear unless there is at least one launch configuration type that supports a shortcut&apos;s launch mode(s).
+ </documentation>
+ </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

Back to the top