Bug 296691 Change new Groups API to Virtual Resource API
If we decide that 'virtual' is the right naming for new resources concept, I will make the following changes. Add IResource#VIRTUAL flag to use in #create methods Add IResource#isVirtual indicating that a resource is virtual Remove IResource#isGroup Remove IFolder#createGroup
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/navigator/resources/ResourceDropAdapterAssistant.java
operation.setCreateLinks(true);
			operation.copyResources(sources, target);
		} else {
			boolean allSourceAreLinksOrGroups = true;
			for (int i = 0; i < sources.length; i++) {
				if (!sources[i].isGroup() && !sources[i].isLinked()) {
					allSourceAreLinksOrGroups = false;
					break;
				}
			}
			
			
			if (!allSourceAreLinksOrGroups) {
				int mask = ImportTypeDialog.IMPORT_GROUPS_AND_LINKS | ImportTypeDialog.IMPORT_LINK;
				if (!target.isGroup() && (dropAdapter.getCurrentOperation() != DND.DROP_LINK))
					mask |= ImportTypeDialog.IMPORT_COPY;
				ImportTypeDialog dialog = new ImportTypeDialog(getShell(), mask);
				if (dialog.open() == Window.OK) {
					if (dialog.getSelection() == ImportTypeDialog.IMPORT_GROUPS_AND_LINKS)
						operation.setCreateGroups(true);
					if (dialog.getSelection() == ImportTypeDialog.IMPORT_LINK)
						operation.setCreateLinks(true);
					operation.copyResources(sources, target);
				} else
					return problems;
			} else
				operation.copyResources(sources, target);
		}
		return problems;
	}