eclipse/eclipse.platform.ui — pull request #1 by javabrett (2012-09-10 15:11:30+00:00)
Title: Bug 374017 - allow Refresh when closed project(s) selected provided at least one open

Proposal is to change RefreshAction.updateSelection() to no longer delegate to WorkspaceAction.updateSelection(), which rejects when there is a non-accessible (closed) resources. Also ResourceMgmtActionProvider changes such that RefreshAction is added provided at least one project is open (was no projects closed).

One alternative to removing the delegation to WorkspaceAction.updateSelection() would be to copy-down its logic and add special processing for IProject so that non-project resources are not impacted. It this necessary?