Bug 71800 [IDE] Clean action should be background operation
build R3.0 When the user selects "Clean..." from the Project menu, it pops up a modal dialog which shows progress. After the "clean" part is done, then the build is done in the background. The "clean" action should also be done in the background. The inconvenience of having it in the foreground is magnified when you have many projects with lots of source files (so it does real work and takes many seconds...up to a minute)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CleanDialog.java
setButtonLayoutData(browse);
        browse.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                browsePressed();
            }
        });
        return radioGroup;
    }
    /**
     * Performs the actual clean operation.
     * @param cleanAll if <code>true</true> clean all projects
     * @param monitor The monitor that the build will report to
     * @throws CoreException thrown if there is a problem from the
     * core builder.
     */
    protected void doClean(boolean cleanAll, IProgressMonitor monitor)
            throws CoreException {
        if (cleanAll)
            ResourcesPlugin.getWorkspace().build(
                    IncrementalProjectBuilder.CLEAN_BUILD, monitor);
        else {
            try {
                monitor.beginTask(IDEWorkbenchMessages
                        .getString("CleanDialog.taskName"), 
                        selection.length);
                for (int i = 0; i < selection.length; i++)
                    ((IProject) selection[i]).build(
                            IncrementalProjectBuilder.CLEAN_BUILD,
                            new SubProgressMonitor(monitor, 1));
            } finally {