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
* <p>
     * Note that this page caches the new file once it has been successfully
     * created; subsequent invocations of this method will answer the same
     * file resource without attempting to create it again.
     * </p>
     * <p>
     * This method should be called within a workspace modify operation since
     * it creates resources.
     * </p>
     *
     * @return the created file resource, or <code>null</code> if the file
     *    was not created
     */
    public IFile createNewFile() {
        if (newFile != null)
            return newFile;
        
        final IPath containerPath = resourceGroup.getContainerFullPath();
        IPath newFilePath = containerPath.append(resourceGroup.getResource());
        final IFile newFileHandle = createFileHandle(newFilePath);
        final InputStream initialContents = getInitialContents();
        createLinkTarget();
        WorkspaceModifyOperation op = new WorkspaceModifyOperation(null) {
            protected void execute(IProgressMonitor monitor)
                    throws CoreException, InterruptedException {
                try {
                    monitor
                            .beginTask(
                                    IDEWorkbenchMessages
                                            .getString("WizardNewFileCreationPage.progress"), 2000);