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.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
URI sourceLocation = sourceResource.getLocationURI();
			if (sourceLocation == null) {
				if (sourceResource.isLinked()) {
					
					
					return NLS
							.bind(
									IDEWorkbenchMessages.CopyFilesAndFoldersOperation_missingPathVariable,
									sourceResource.getName());
				}
				return NLS
						.bind(
								IDEWorkbenchMessages.CopyFilesAndFoldersOperation_resourceDeleted,
								sourceResource.getName());
			}
			if (!destination.isGroup()) {
			if (sourceLocation.equals(destinationLocation)) {
				return NLS
						.bind(
								IDEWorkbenchMessages.CopyFilesAndFoldersOperation_sameSourceAndDest,
								sourceResource.getName());
			}
			
			if (new Path(sourceLocation.toString()).isPrefixOf(new Path(
					destinationLocation.toString()))) {
				return IDEWorkbenchMessages.CopyFilesAndFoldersOperation_destinationDescendentError;
			}
			}
			String linkedResourceMessage = validateLinkedResource(destination,
					sourceResource);