1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 375221 - [4.x] Resource config menu shows up in context menus

This commit is contained in:
Marc-Andre Laperle 2012-10-11 00:44:18 -04:00
parent a8f2455861
commit d9928b7661

View file

@ -4390,6 +4390,7 @@
label="%ResourceConfigurations.menu">
<visibleWhen
checkEnabled="false">
<or>
<with variable="activeMenuSelection">
<iterate operator="and" ifEmpty="false">
<adapt type="org.eclipse.core.resources.IResource">
@ -4415,16 +4416,6 @@
</or>
</iterate>
</with>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
id="org.eclipse.cdt.ui.buildConfigContributionM"
label="%ResourceConfigurations.menu">
<visibleWhen
checkEnabled="false">
<with variable="activeMenuEditorInput">
<iterate ifEmpty="false">
<adapt type="org.eclipse.core.resources.IFile">
@ -4434,6 +4425,7 @@
</adapt>
</iterate>
</with>
</or>
</visibleWhen>
</menu>
</menuContribution>