From eca57be079a715ed766855f6ca81b87218007e14 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Sun, 5 Apr 2026 20:10:23 +0200 Subject: [PATCH] Show Open/Close Project for mixed selections in Project Explorer The ResourceMgmtActionProvider enablement expression required ALL selected elements to adapt to IResource or IWorkingSet. This hid Open/Close Project actions when the selection contained non-resource elements (e.g., working set headers from Ctrl+A). Changed the enablement to always activate the provider. The existing fillContextMenu() logic via selectionToProjects() already filters to applicable projects and only shows relevant actions. Fixes https://github.com/eclipse-platform/eclipse.platform.ui/issues/3790 --- bundles/org.eclipse.ui.navigator.resources/plugin.xml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bundles/org.eclipse.ui.navigator.resources/plugin.xml b/bundles/org.eclipse.ui.navigator.resources/plugin.xml index 7eec14646610..d6007f86353a 100644 --- a/bundles/org.eclipse.ui.navigator.resources/plugin.xml +++ b/bundles/org.eclipse.ui.navigator.resources/plugin.xml @@ -237,13 +237,8 @@ class="org.eclipse.ui.internal.navigator.resources.actions.ResourceMgmtActionProvider" id="org.eclipse.ui.navigator.resources.ResourceMgmtActions"> - - - - - - - + +