Bug 68608 [Dialogs] Resource deletion could be run in the background
If I delete a resource in Eclipse and the deletion is blocked by another job, I get a blocked dialog. I then have to wait until the blocking job finishes. It would be nice if I could have the deletion run in the background and occur when it can. In essence, this is what happens in window except that windows uses a non-modal dialog instead of a "Run in Background" button.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
.format(
                                "DeleteResourceAction.confirmProject1", new Object[] { project.getName() }); 
            } else {
                return IDEWorkbenchMessages
                        .format(
                                "DeleteResourceAction.confirmProjectN", new Object[] { new Integer(projects.length) }); 
            }
        }
        /* (non-Javadoc)
         * Method declared on Window.
         */
        protected void configureShell(Shell newShell) {
            super.configureShell(newShell);
            WorkbenchHelp.setHelp(newShell,
                    IIDEHelpContextIds.DELETE_PROJECT_DIALOG);
        }
        protected Control createCustomArea(Composite parent) {
            Composite composite = new Composite(parent, SWT.NONE);
            composite.setLayout(new GridLayout());
            radio1 = new Button(composite, SWT.RADIO);
            radio1.addSelectionListener(selectionListener);
            String text1;
            if (projects.length == 1) {
                IProject project = (IProject) projects[0];
                if (project == null || project.getLocation() == null)
                    text1 = IDEWorkbenchMessages
                            .getString("DeleteResourceAction.deleteContentsN"); 
                else
                    text1 = IDEWorkbenchMessages
                            .format(