IPackageFragment pkg= (IPackageFragment)iter.next(); if (parent.equals(pkg.getParent())) return true;
IResource resource= Utilities.convertToResource(iter.next()); if (resource == null) return false; if (parent.equals(resource.getParent())) return true;
	public static boolean destinationIsParent(List elements, IPackageFragmentRoot parent) {		if (parent == null)			return false;		Iterator iter= elements.iterator();		while (iter.hasNext()) {			IPackageFragment pkg= (IPackageFragment)iter.next();			if (parent.equals(pkg.getParent()))				return true;		}		return false;	}