Bug 109702 [IDE] [Progress] startup workspace refresh blocks ui
the refresh action at startup of eclipse blocks the ui and cannot be moved into background. this is a similar problem as mentioned in bugzilla 82406 for the package explorer. only the refresh out of the navigator view has the possibility to switch to background.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
        return  new IDEWorkbenchWindowAdvisor(this, configurer);
    }
    
    /**
     * Return true if the intro plugin is present and false otherwise.
     */
    public boolean hasIntro() {
        return getWorkbenchConfigurer().getWorkbench().getIntroManager()
                .hasIntro();
    }
    private void refreshFromLocal() {
        String[] commandLineArgs = Platform.getCommandLineArgs();
        IPreferenceStore store = IDEWorkbenchPlugin.getDefault()
                .getPreferenceStore();
        boolean refresh = store
                .getBoolean(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP);
        if (!refresh)
            return;
        
        for (int i = 0; i < commandLineArgs.length; i++)
            if (commandLineArgs[i].equalsIgnoreCase("-refresh")) 
                return;
        IWorkbenchWindow window = getWorkbenchConfigurer().getWorkbench()
                .getActiveWorkbenchWindow();
        Shell shell = window == null ? null : window.getShell();
        ProgressMonitorDialog dlg = new ProgressMonitorJobsDialog(shell);
        final CoreException ex[] = new CoreException[1];
        try {
            dlg.run(true, true, new IRunnableWithProgress() {