-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh option not available for some resources that are not closed p… #2542
Refresh option not available for some resources that are not closed p… #2542
Conversation
…rojects eclipse-platform#2538 Change made since the fix to eclipse-platform#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 eclipse-platform#2538
This pull request changes some projects for the first time in this development cycle.
An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patch
Further information are available in Common Build Issues - Missing version increments. |
This replaces #2539 @jukzi : apologies for the second pull request; I'm new to GitHub. For reference, the changes requested were:
|
Test Results 1 821 files ± 0 1 821 suites ±0 1h 59m 48s ⏱️ + 9m 0s For more details on these failures, see this check. Results for commit 76d98bb. ± Comparison against base commit 98ff2aa. ♻️ This comment has been updated with latest results. |
no worries. The jenkins build failed with "An unexpected error occurred while launching the test runtime (process returned error code 13)". I do not know why i restarted the job. We need a green result before it could be merged. |
...rces/src/org/eclipse/ui/internal/navigator/resources/actions/ResourceMgmtActionProvider.java
Outdated
Show resolved
Hide resolved
...rces/src/org/eclipse/ui/internal/navigator/resources/actions/ResourceMgmtActionProvider.java
Outdated
Show resolved
Hide resolved
Does not look bad overall. Could you please try to add a junit test for it? |
Refresh option not available for some resources that are not closed projects eclipse-platform#2538 Change made since the fix to eclipse-platform#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 eclipse-platform#2538
Refresh option not available for some resources that are not closed projects eclipse-platform#2538 Change made since the fix to eclipse-platform#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 eclipse-platform#2538
Added in today's commit. Please let me know if anything looks incorrect (I used other unit tests in this section for reference, but since I couldn't find a guide as to what is expected (other than https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md 's missive that tests should run and pass (which these do)). |
....navigator/src/org/eclipse/ui/tests/navigator/resources/ResourceMgmtActionProviderTests.java
Outdated
Show resolved
Hide resolved
…rojects Refresh option not available for some resources that are not closed projects eclipse-platform#2538 Change made since the fix to eclipse-platform#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 eclipse-platform#2538
Hi @jukzi - anything else needed on this pull request from my end? I don't think I see anything, but I'm still very new to github :-) |
This repo does not allow merge commits. Please squash all changes into a single commit and rebase on head. Once the automated checks are successful someone might take the time to test your change manually. |
To reduce mess / risk I've simply created a new pull request with a single commit #2601 |
Refresh option not available for some resources that are not closed projects #2538
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