Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Treggiari2005-12-02 22:47:13 +0000
committerLeo Treggiari2005-12-02 22:47:13 +0000
commit32d8ac98eaf80c6237df0ef98833cb363db3a377 (patch)
tree141bbf4f4386058cb5fb0b1b4a6d24b0fc2bffe5 /launch/org.eclipse.cdt.launch/plugin.xml
parent59a2dc123a8cee243ab845626b3325a54194f7e0 (diff)
downloadorg.eclipse.cdt-32d8ac98eaf80c6237df0ef98833cb363db3a377.tar.gz
org.eclipse.cdt-32d8ac98eaf80c6237df0ef98833cb363db3a377.tar.xz
org.eclipse.cdt-32d8ac98eaf80c6237df0ef98833cb363db3a377.zip
Apply patch for bugzilla 93013 - Run As and Debug As menu items now show up for a project in the C/C++ View.
Diffstat (limited to 'launch/org.eclipse.cdt.launch/plugin.xml')
-rw-r--r--launch/org.eclipse.cdt.launch/plugin.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.launch/plugin.xml b/launch/org.eclipse.cdt.launch/plugin.xml
index 9bedfa5922..704c5598f0 100644
--- a/launch/org.eclipse.cdt.launch/plugin.xml
+++ b/launch/org.eclipse.cdt.launch/plugin.xml
@@ -81,7 +81,10 @@
<with variable="selection">
<count value="1"/>
<iterate>
- <test property="org.eclipse.cdt.launch.isExecutable"/>
+ <or>
+ <test property="org.eclipse.cdt.launch.isExecutable"/>
+ <instanceof value="org.eclipse.cdt.internal.core.model.CProject"/>
+ </or>
</iterate>
</with>
</enablement>
@@ -138,6 +141,11 @@
adaptableType="org.eclipse.core.resources.IResource">
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
</factory>
+ <factory
+ class=""
+ adaptableType="org.eclipse.cdt.internal.core.model.CProject">
+ <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
+ </factory>
</extension>
</plugin>

Back to the top