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
.bind(
							IDEWorkbenchMessages.CopyFilesAndFoldersOperation_internalError,
							exception.getLocalizedMessage());
		}
		for (int i = 0; i < sourceStores.length; i++) {
			IFileStore sourceStore = sourceStores[i];
			IFileStore sourceParentStore = sourceStore.getParent();
			if (sourceStore != null) {
				if (destinationStore.equals(sourceStore)
						|| (sourceParentStore != null && destinationStore
								.equals(sourceParentStore))) {
					return NLS
							.bind(
									IDEWorkbenchMessages.CopyFilesAndFoldersOperation_importSameSourceAndDest,
									sourceStore.getName());
				}
				
				
				IFileStore destinationParent = destinationStore.getParent();
				if (sourceStore.isParentOf(destinationParent)) {
					return IDEWorkbenchMessages.CopyFilesAndFoldersOperation_destinationDescendentError;
				}
				}
			}
		}
		return null;
	}
	/**
	 * Check if the destination is valid for the given source resource.
	 *