Skip to content

Commit 2bd50e4

Browse files
Refresh option not available for some resources that are not closed projects #2538
Update javadoc for ResourceMgmtActionProviderTests.java Change made since the fix to #1438 unintentionally removed the "refresh" contextual menu for resources that are not projects. With this change the "refresh" contextual menu is shown if ANY navigator selection is either (A) an open project, or (B) a non-project resource. Put another way: the 'refresh' item is NOT shown if ALL selections are closed projects. Fixes #2538
1 parent 39da4c6 commit 2bd50e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/resources/ResourceMgmtActionProviderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void testFillContextMenu_closedProjectSelection() {
8989

9090
/**
9191
* Test for 'open project' that doesn't have a builder attached - all but
92-
* 'build' & 'open project' should be enabled
92+
* 'build' & 'open project' should be enabled
9393
*/
9494
@Test
9595
public void testFillContextMenu_openProjectNoBuilderSelection() {
@@ -218,4 +218,4 @@ private boolean menuHasContribution(String contribution) {
218218
return false;
219219
}
220220

221-
}
221+
}

0 commit comments

Comments
 (0)