Add check for CPP Perspective to CPP Launch Shortcuts. Fixes artf2627

Change-Id: I56f73c41d3266a557d6d42e5b6f7d7c97ce845b0
This commit is contained in:
Kevin O'Connor
2015-06-25 09:43:44 -04:00
parent c6b790cadd
commit 9c0df8c8fa

View File

@@ -190,6 +190,12 @@
modes="run,debug">
<contextualLaunch>
<enablement>
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.cdt.ui.CPerspective">
</equals>
</with>
<with
variable="selection">
<iterate>
@@ -225,6 +231,12 @@
modes="run,debug">
<contextualLaunch>
<enablement>
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.cdt.ui.CPerspective">
</equals>
</with>
<with
variable="selection">
<iterate>