1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Apply patch for bugzilla 93013 - Run As and Debug As menu items now show up for a project in the C/C++ View.

This commit is contained in:
Leo Treggiari 2005-12-02 22:47:13 +00:00
parent 59a2dc123a
commit 32d8ac98ea

View file

@ -81,7 +81,10 @@
<with variable="selection"> <with variable="selection">
<count value="1"/> <count value="1"/>
<iterate> <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> </iterate>
</with> </with>
</enablement> </enablement>
@ -138,6 +141,11 @@
adaptableType="org.eclipse.core.resources.IResource"> adaptableType="org.eclipse.core.resources.IResource">
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/> <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
</factory> </factory>
<factory
class=""
adaptableType="org.eclipse.cdt.internal.core.model.CProject">
<adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
</factory>
</extension> </extension>
</plugin> </plugin>