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/src/org/eclipse/ui/ide/undo/WorkspaceUndoUtil.java
resourcesAtDestination.add(getWorkspace().getRoot()
								.findMember(destinationPath));
						for (int j = 0; j < deleted.length; j++) {
							overwrittenResources.add(deleted[j]);
						}
					} else {
						if (source.isLinked() == existing.isLinked()) {
							overwrittenResources.add(copyOverExistingResource(
									source, existing, new SubProgressMonitor(
											monitor, 1), uiInfo, false));
							
							resourcesAtDestination.add(existing);
						} else {
							
							
							
							ResourceDescription[] deleted = delete(
									new IResource[] { existing },
									new SubProgressMonitor(monitor, 0), uiInfo,
									false);
							source.copy(destinationPath, IResource.SHALLOW,
									new SubProgressMonitor(monitor, 1));
							
							resourcesAtDestination.add(getWorkspace().getRoot()
									.findMember(destinationPath));
							for (int j = 0; j < deleted.length; j++) {
								overwrittenResources.add(deleted[j]);
							}
						}
					}