Bug 310671 [LinkedResources] "New > Folder" wizard: Bad dialog resizing when clicking "Advanced"
I20100426-0852 The "New > Folder" wizard: Clicking the "Advanced" button should keep the button at the same location on the screen and resize the dialog such that the new options fit in. It also wasn't perfect before, but in I20100426-0852, the "Advanced" button jumps a huge distance (is not under the mouse any more) and the dialog only gets a tiny bit taller.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java
if (e.getStatus().getCode() == IResourceStatus.PATH_OCCUPIED) {
				folderHandle.refreshLocal(IResource.DEPTH_INFINITE,
						new SubProgressMonitor(monitor, 500));
			} else {
				throw e;
			}
		}
		if (monitor.isCanceled()) {
			throw new OperationCanceledException();
		}
	}
	/**
	 * Creates a folder resource handle for the folder with the given workspace
	 * path. This method does not create the folder resource; this is the
	 * responsibility of <code>createFolder</code>.
	 * 
	 * @param folderPath
	 *            the path of the folder resource to create a handle for
	 * @return the new folder resource handle
	 * @see #createFolder
	 */
	protected IFolder createFolderHandle(IPath folderPath) {
		return IDEWorkbenchPlugin.getPluginWorkspace().getRoot().getFolder(
				folderPath);
	}
	/**
	 * Creates a container resource handle for the container with the given workspace path. This
	 * method does not create the resource.
	 * 
	 * @param containerPath the path of the container resource to create a handle for