Bug 151688 [GlobalActions] [IDE] Allow to extend RefreshAction
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RefreshAction.java
/*
	 * (non-Javadoc) Method declared on WorkspaceAction.
	 */
	protected String getProblemsMessage() {
		return IDEWorkbenchMessages.RefreshAction_problemMessage;
	}
	/*
	 * (non-Javadoc) Method declared on WorkspaceAction.
	 */
	protected String getProblemsTitle() {
		return IDEWorkbenchMessages.RefreshAction_problemTitle;
	}
	/**
	 * Returns a list containing the workspace root if the selection would
	 * otherwise be empty.
	 */
	protected List getSelectedResources() {
		List resources = super.getSelectedResources();
		if (resources.isEmpty()) {
			resources = new ArrayList();
			resources.add(ResourcesPlugin.getWorkspace().getRoot());
		}
		return resources;
	}
	/*
	 * (non-Javadoc) Method declared on WorkspaceAction.
	 */
	protected void invokeOperation(IResource resource, IProgressMonitor monitor)
			throws CoreException {