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:
parent
a8f2455861
commit
d9928b7661
1 changed files with 36 additions and 44 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue