Bug 80058 [Wizards] Create folder blocked should avoid locking workspace
Version 3.1.M3. - In the Resource perspective, I did a Team/CVS Update on a large Java project and sent it to the background. - I then went into a different project, and tried to create a new directory from the Navigation pane. That action was blocked. Should I not be able to create a new folder at the same time? Thanks, Gary
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java
|| resourceGroup.getProblemType() == ResourceAndContainerGroup.PROBLEM_CONTAINER_EMPTY) {
                setMessage(resourceGroup.getProblemMessage());
                setErrorMessage(null);
            } else
                setErrorMessage(resourceGroup.getProblemMessage());
            valid = false;
        }
        IStatus linkedResourceStatus = null;
        if (valid) {
            linkedResourceStatus = validateLinkedResource();
            if (linkedResourceStatus.getSeverity() == IStatus.ERROR)
                valid = false;
        }
        
        if (valid
                && (linkedResourceStatus == null || linkedResourceStatus.isOK())) {
            setMessage(null);
            setErrorMessage(null);
        }
        return valid;
    }
    /*
     * @see DialogPage.setVisible(boolean)
     */
    public void setVisible(boolean visible) {
        super.setVisible(visible);
        if (visible)
            resourceGroup.setFocus();
    }
}