public static boolean destinationIsParent(List elements, IPackageFragmentRoot parent) {
public static boolean destinationIsParent(List elements, IJavaElement dest) { if (dest == null) return false; IResource parent= null; try { parent= dest.getCorrespondingResource(); } catch(JavaModelException e) { return false; }
	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;	}