Bug 310494 [LinkedResources] Preference "Link and create virtual folders" does not work
I20100425-2000 The 2 options on the Linked Resourced with name "Link and create virtual folders" don't work. When they are selected, dropping items does nothing. In CopyFilesAndFoldersOperation#copyOrLinkFiles(..), the test "hasFlag(dropOperation, ImportTypeDialog.IMPORT_VIRTUAL_FOLDERS_AND_LINKS)" always fails because dropOperation is always COPY.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
} else {
				if (existing != null) {
					if (homogenousResources(source, existing)) {
						copyExisting(source, existing, new SubProgressMonitor(
								subMonitor, 1));
					} else {
					if (existing != null) {
						
						
						
						delete(existing, new SubProgressMonitor(subMonitor, 0));
					}
					if ((createLinks || createVirtualFoldersAndLinks)
							&& (source.isLinked() == false)
							&& (source.isVirtual() == false)) {
						if (source.getType() == IResource.FILE) {
							IFile file = workspaceRoot.getFile(destinationPath);
							file.createLink(createRelativePath(source.getLocationURI(), file), 0,
									new SubProgressMonitor(subMonitor, 1));
						} else {
							IFolder folder = workspaceRoot
									.getFolder(destinationPath);
							if (createVirtualFoldersAndLinks) {
									folder.create(IResource.VIRTUAL, true,
											new SubProgressMonitor(subMonitor,
													1));
								IResource[] members = ((IContainer) source)
										.members();
								if (members.length > 0)
									copy(members, destinationPath,