Skip to content

Commit b53426b

Browse files
committed
In Project Explorer view,added a separator after the 'Refresh' command
Fixes #267
1 parent cda7fe2 commit b53426b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/ResourceMgmtActionProvider.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2006, 2018 IBM Corporation and others.
2+
* Copyright (c) 2006, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -32,6 +32,7 @@
3232
import org.eclipse.core.runtime.Status;
3333
import org.eclipse.core.runtime.jobs.ISchedulingRule;
3434
import org.eclipse.jface.action.IMenuManager;
35+
import org.eclipse.jface.action.Separator;
3536
import org.eclipse.jface.resource.ImageDescriptor;
3637
import org.eclipse.jface.viewers.IStructuredSelection;
3738
import org.eclipse.jface.viewers.StructuredViewer;
@@ -147,6 +148,7 @@ public void fillContextMenu(IMenuManager menu) {
147148
if (hasOpenProjects || selectionContainsNonProject) {
148149
refreshAction.selectionChanged(selection);
149150
menu.appendToGroup(ICommonMenuConstants.GROUP_BUILD, refreshAction);
151+
menu.appendToGroup(ICommonMenuConstants.GROUP_BUILD, new Separator());
150152
}
151153
if (hasClosedProjects) {
152154
openProjectAction.selectionChanged(selection);

0 commit comments

Comments
 (0)