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
ImportTypeDialog dialog = new ImportTypeDialog(getShell(), mask);
				if (dialog.open() == Window.OK)
					type = dialog.getSelection();
				else
					type = ImportTypeDialog.IMPORT_NONE;
				switch (type) {
				case ImportTypeDialog.IMPORT_COPY:
					operation.copyFiles(names, target);
					break;
				case ImportTypeDialog.IMPORT_GROUPS_AND_LINKS:
					operation.createGroupAndLinks(names, target);
					break;
				case ImportTypeDialog.IMPORT_LINK:
					operation.linkFiles(names, target);
					break;
				case ImportTypeDialog.IMPORT_NONE:
					break;
				}
			}
		});
		return problems;
	}
	/**
	 * Ensures that the drop target meets certain criteria
	 */
	private IStatus validateTarget(Object target, TransferData transferType,
			int dropOperation) {
		if (!(target instanceof IResource)) {
			return WorkbenchNavigatorPlugin
					.createInfoStatus(WorkbenchNavigatorMessages.DropAdapter_targetMustBeResource);