Bug 310444 [LinkedResources] Drag and Drop dialogs not disabled when Linked Resources turned off
I20100425-2000 - on the 'Linked Resources' preference page, disable the checkbox => DND groups are still enabled (should be disabled) - click OK - drag a file from the OS to the Package Explorer, Resource Navigator,... => "File Operation" dialog is still shown (should not be shown and just make a copy). Selecting "Link to files" gives an error dialog after I clicked OK. Additional UI problems on the preference page: - groups don't use dialog font - missing vertical gap between checkbox and first DND group: The gap should have the same size as the gap between the second group and the "Path variables..." label. Currently, the visual clustering suggests that the checkbox only applies to the DND groups.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java
* @param containerPath the path of the container resource to create a handle for
	 * @return the new container resource handle
	 * @see #createFolder
	 * @since 3.6
	 */
	protected IContainer createContainerHandle(IPath containerPath) {
		if (containerPath.segmentCount() == 1)
			return IDEWorkbenchPlugin.getPluginWorkspace().getRoot().getProject(
					containerPath.segment(0));
		return IDEWorkbenchPlugin.getPluginWorkspace().getRoot().getFolder(
				containerPath);
	}
	/**
	 * Creates the link target path if a link target has been specified.
	 */
	protected void createLinkTarget() {
		linkTargetPath = linkedResourceGroup.getLinkTargetURI();
	}
	/**
	 * Creates a new folder resource in the selected container and with the
	 * selected name. Creates any missing resource containers along the path;
	 * does nothing if the container resources already exist.
	 * <p>
	 * In normal usage, this method is invoked after the user has pressed Finish
	 * on the wizard; the enablement of the Finish button implies that all
	 * controls on this page currently contain valid values.
	 * </p>
	 * <p>
	 * Note that this page caches the new folder once it has been successfully
	 * created; subsequent invocations of this method will answer the same