Bug 176764 [Undo] - DeleteResourcesOperation does not handle overlapped selections
In a project, create a folder f1. In f1, create another folder f2. Select f1 and f2 delete The undo fails with a "not enough info to restore" message. The problem is that the resource description for f2 checks to see whether f2's parent is valid, and at the time of the check, f1 has not been restored. Either the validity check needs to be smarter, or else the deletes should be collapsed into just f1.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/undo/AbstractCopyOrMoveResourcesOperation.java
if (resources == null || destinationPaths == null)
			throw new IllegalArgumentException("The resource and destination paths may not be null"); 
		if (resources.length != destinationPaths.length) {
			throw new IllegalArgumentException("The resource and destination paths must be the same length"); 
		}
		for (int i=0; i<resources.length; i++) {
			if (resources[i] == null) {
				throw new IllegalArgumentException("The resources array may not contain null resources"); 
			}
			if (destinationPaths[i] == null) {
				throw new IllegalArgumentException("The destination paths array may not contain null paths"); 
			}
		}
		this.destinationPaths = destinationPaths;
	}
	/**
	 * Create an AbstractCopyOrMoveResourcesOperation that moves or copies all
	 * of the specified resources to the same target location, using their
	 * existing names.
	 * 
	 * @param resources
	 *            the resources to be moved or copied
	 * @param destinationPath
	 *            the destination path for the resources, not including the name
	 *            of the new resource.
	 * @param label
	 *            the label of the operation
	 */
	AbstractCopyOrMoveResourcesOperation(IResource[] resources,
			IPath destinationPath, String label) {