File tree 3 files changed +6
-4
lines changed
bundles/org.eclipse.ui.navigator.resources
src/org/eclipse/ui/internal/navigator/resources/actions
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/resources
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Manifest-Version: 1.0
2
2
Bundle-ManifestVersion : 2
3
3
Bundle-Name : %Plugin.name
4
4
Bundle-SymbolicName : org.eclipse.ui.navigator.resources; singleton:=true
5
- Bundle-Version : 3.9.600 .qualifier
5
+ Bundle-Version : 3.9.700 .qualifier
6
6
Bundle-Activator : org.eclipse.ui.internal.navigator.resources.plugin.WorkbenchNavigatorPlugin
7
7
Bundle-Vendor : %Plugin.providerName
8
8
Bundle-Localization : plugin
Original file line number Diff line number Diff line change 1
1
/*******************************************************************************
2
- * Copyright (c) 2006, 2018 IBM Corporation and others.
2
+ * Copyright (c) 2006, 2025 IBM Corporation and others.
3
3
*
4
4
* This program and the accompanying materials
5
5
* are made available under the terms of the Eclipse Public License 2.0
32
32
import org .eclipse .core .runtime .Status ;
33
33
import org .eclipse .core .runtime .jobs .ISchedulingRule ;
34
34
import org .eclipse .jface .action .IMenuManager ;
35
+ import org .eclipse .jface .action .Separator ;
35
36
import org .eclipse .jface .resource .ImageDescriptor ;
36
37
import org .eclipse .jface .viewers .IStructuredSelection ;
37
38
import org .eclipse .jface .viewers .StructuredViewer ;
@@ -147,6 +148,7 @@ public void fillContextMenu(IMenuManager menu) {
147
148
if (hasOpenProjects || selectionContainsNonProject ) {
148
149
refreshAction .selectionChanged (selection );
149
150
menu .appendToGroup (ICommonMenuConstants .GROUP_BUILD , refreshAction );
151
+ menu .appendToGroup (ICommonMenuConstants .GROUP_BUILD , new Separator ());
150
152
}
151
153
if (hasClosedProjects ) {
152
154
openProjectAction .selectionChanged (selection );
Original file line number Diff line number Diff line change 1
1
/*******************************************************************************
2
- * Copyright (c) 2024 Dave Carpeneto and others.
2
+ * Copyright (c) 2025 Dave Carpeneto and others.
3
3
*
4
4
* This program and the accompanying materials
5
5
* are made available under the terms of the Eclipse Public License 2.0
@@ -211,7 +211,7 @@ private void checkMenuHasCorrectContributions(boolean... actions) {
211
211
*/
212
212
private boolean menuHasContribution (String contribution ) {
213
213
for (IContributionItem thisItem : manager .getItems ()) {
214
- if (thisItem .getId ().equals (contribution )) {
214
+ if (thisItem .getId () != null && thisItem . getId () .equals (contribution )) {
215
215
return true ;
216
216
}
217
217
}
You can’t perform that action at this time.
0 commit comments