eclipse/eclipse.platform.ui — pull request #2 by javabrett (2012-09-10 15:12:46+00:00)
Title: Bug 374017 - RefreshAction is now added to context menu and enabled when...

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?