mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 375221 - [4.x] Resource config menu shows up in context menus
This commit is contained in:
parent
516e23c935
commit
b1a7526c66
1 changed files with 36 additions and 44 deletions
|
@ -4390,6 +4390,7 @@
|
||||||
label="%ResourceConfigurations.menu">
|
label="%ResourceConfigurations.menu">
|
||||||
<visibleWhen
|
<visibleWhen
|
||||||
checkEnabled="false">
|
checkEnabled="false">
|
||||||
|
<or>
|
||||||
<with variable="activeMenuSelection">
|
<with variable="activeMenuSelection">
|
||||||
<iterate operator="and" ifEmpty="false">
|
<iterate operator="and" ifEmpty="false">
|
||||||
<adapt type="org.eclipse.core.resources.IResource">
|
<adapt type="org.eclipse.core.resources.IResource">
|
||||||
|
@ -4415,16 +4416,6 @@
|
||||||
</or>
|
</or>
|
||||||
</iterate>
|
</iterate>
|
||||||
</with>
|
</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">
|
<with variable="activeMenuEditorInput">
|
||||||
<iterate ifEmpty="false">
|
<iterate ifEmpty="false">
|
||||||
<adapt type="org.eclipse.core.resources.IFile">
|
<adapt type="org.eclipse.core.resources.IFile">
|
||||||
|
@ -4434,6 +4425,7 @@
|
||||||
</adapt>
|
</adapt>
|
||||||
</iterate>
|
</iterate>
|
||||||
</with>
|
</with>
|
||||||
|
</or>
|
||||||
</visibleWhen>
|
</visibleWhen>
|
||||||
</menu>
|
</menu>
|
||||||
</menuContribution>
|
</menuContribution>
|
||||||
|
|
Loading…
Add table
Reference in a new issue