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
message, MessageDialog.QUESTION, new String[] {
                            IDialogConstants.YES_LABEL,
                            IDialogConstants.NO_LABEL }, 0); 
            
            getShell().getDisplay().syncExec(new Runnable() {
                public void run() {
                    dialog.open();
                }
            });
            
            if (dialog.getReturnCode() == 0) { 
                project.delete(true, true, null);
            }
        }
    }
    /* (non-Javadoc)
     * Method declared on WorkspaceAction.
     */
    String getOperationMessage() {
        return IDEWorkbenchMessages.getString("RefreshAction.progressMessage"); 
    }
    /* (non-Javadoc)
     * Method declared on WorkspaceAction.
     */
    String getProblemsMessage() {
        return IDEWorkbenchMessages.getString("RefreshAction.problemMessage"); 
    }
    /* (non-Javadoc)
     * Method declared on WorkspaceAction.
     */