Bug 61945 [Workbench] refresh local is not backgroundable
in i05111600 When I refresh local a large workspace (70000 files) it takes several minutes but I get only a modla progress dialog. No opportunity to put it in the background.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RefreshAction.java
resource.refreshLocal(IResource.DEPTH_INFINITE, monitor);
    }
    /**
     * The <code>RefreshAction</code> implementation of this
     * <code>SelectionListenerAction</code> method ensures that this action is
     * enabled if the selection is empty, but is disabled if any of the selected 
     * elements are not resources.
     */
    protected boolean updateSelection(IStructuredSelection s) {
        return (super.updateSelection(s) || s.isEmpty())
                && getSelectedNonResources().size() == 0;
    }
    /**
     * Handle the key release.
     */
    public void handleKeyReleased(KeyEvent event) {
        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);
    }
}