Bug 151688 [GlobalActions] [IDE] Allow to extend RefreshAction
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RefreshAction.java
if (event.keyCode == SWT.F5 && event.stateMask == 0) {
			refreshAll();
		}
	}
	/**
	 * Refreshes the entire workspace.
	 */
	public void refreshAll() {
		IStructuredSelection currentSelection = getStructuredSelection();
		selectionChanged(StructuredSelection.EMPTY);
		run();
		selectionChanged(currentSelection);
	}
	/*
	 * (non-Javadoc) Method declared on IAction; overrides method on
	 * WorkspaceAction.
	 */
	public void run() {
		ISchedulingRule rule = null;
		IResourceRuleFactory factory = ResourcesPlugin.getWorkspace()
				.getRuleFactory();
		Iterator resources = getSelectedResources().iterator();
		while (resources.hasNext()) {
			rule = MultiRule.combine(rule, factory
					.refreshRule((IResource) resources.next()));
		}
		runInBackground(rule);
	}
}