Bug 136921 [IDE] New File dialog locks for 20 seconds
I have fairly large workspace (many thousands files in 150+ projects). Whenever I try to create a new file, "New File" dialog stays locked for 15-20 seconds before I can start typing file name. CPU utilization is 100% during this time. Eclipse 3.2 I20060331-2000, WinXP SP2, tried with both IBM Java 1.5.0 SR1 and SUN 1.5.0_05.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/misc/ContainerSelectionGroup.java
treeViewer.collapseToLevel(item, 1);
					} else {
						treeViewer.expandToLevel(item, 1);
					}
                }
            }
        });
        
        treeViewer.setInput(ResourcesPlugin.getWorkspace());
    }
    /**
     * Returns the currently entered container name.
     * Null if the field is empty. Note that the
     * container may not exist yet if the user
     * entered a new container name in the field.
     */
    public IPath getContainerFullPath() {
        if (allowNewContainerName) {
            String pathName = containerNameField.getText();
            if (pathName == null || pathName.length() < 1) {
				return null;
			} else {
				
                return (new Path(pathName)).makeAbsolute();
			}
        } else {
            if (selectedContainer == null) {
				return null;
			} else {
				return selectedContainer.getFullPath();