Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2007-05-04 13:19:18 +0000
committerDoug Schaefer2007-05-04 13:19:18 +0000
commita0b8eefc605b41ce6703750e4c8c0e04fbc76c30 (patch)
tree53b23c9ff63278ef4bfbb7a5099e9f47d0b8d579 /launch/org.eclipse.cdt.launch/plugin.xml
parentb2f48c45c9e3565a6652493482f505c1d62766a9 (diff)
downloadorg.eclipse.cdt-a0b8eefc605b41ce6703750e4c8c0e04fbc76c30.tar.gz
org.eclipse.cdt-a0b8eefc605b41ce6703750e4c8c0e04fbc76c30.tar.xz
org.eclipse.cdt-a0b8eefc605b41ce6703750e4c8c0e04fbc76c30.zip
Change shortcut context launch enablement to be true for executables and C projects.
Diffstat (limited to 'launch/org.eclipse.cdt.launch/plugin.xml')
-rw-r--r--launch/org.eclipse.cdt.launch/plugin.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/launch/org.eclipse.cdt.launch/plugin.xml b/launch/org.eclipse.cdt.launch/plugin.xml
index e0672588dd..22841d6b41 100644
--- a/launch/org.eclipse.cdt.launch/plugin.xml
+++ b/launch/org.eclipse.cdt.launch/plugin.xml
@@ -80,11 +80,17 @@
<enablement>
<with variable="selection">
<count value="1"/>
- <iterate>
- <or>
- <test property="org.eclipse.cdt.launch.isCElement"/>
- <instanceof value="org.eclipse.cdt.internal.core.model.CProject"/>
- </or>
+ <iterate
+ ifEmpty="false"
+ operator="or">
+ <or>
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.cdt.launch.isExecutable"/>
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.cdt.launch.isCProject"/>
+ </or>
</iterate>
</with>
</enablement>
@@ -110,7 +116,7 @@
<extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
namespace="org.eclipse.cdt.launch"
- properties="isCElement"
+ properties="isExecutable,isCProject"
type="org.eclipse.core.runtime.IAdaptable"
class="org.eclipse.cdt.launch.internal.CPropertyTester"
id="org.eclipse.cdt.launch.CPropertyTester">

Back to the top