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
} 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 || createGroupsAndLinks)
							&& (source.isLinked() == false)
							&& (source.isGroup() == false)) {
						if (source.getType() == IResource.FILE) {
							IFile file = workspaceRoot.getFile(destinationPath);
							file.createLink(source.getLocationURI(), 0,
									new SubProgressMonitor(subMonitor, 1));
						} else {
							IFolder folder = workspaceRoot
									.getFolder(destinationPath);
							if (createGroupsAndLinks) {
								folder.createGroup(0, new SubProgressMonitor(
										subMonitor, 1));
								IResource[] members = ((IContainer) source)
										.members();
								if (members.length > 0)
									copy(members, destinationPath,
											new SubProgressMonitor(subMonitor,