String queryTitle= "Confirm Referenced Package Fragment Root Delete";
String queryTitle= "Confirm Referenced Archive Delete";
	private void removeUnconfirmedReferencedArchives() throws JavaModelException {		String queryTitle= "Confirm Referenced Package Fragment Root Delete";		IConfirmQuery query= fDeleteQueries.createYesYesToAllNoNoToAllQuery(queryTitle, true, IReorgQueries.CONFIRM_DELETE_REFERENCED_ARCHIVES);		List rootsToSkip= new ArrayList(0);		for (int i= 0; i < fJavaElements.length; i++) {			IJavaElement element= fJavaElements[i];			if (! (element instanceof IPackageFragmentRoot))				continue;			IPackageFragmentRoot root= (IPackageFragmentRoot)element;			IJavaProject[] referencing= JavaElementUtil.getReferencingProjects(root);			if (root.isArchive() && referencing.length > 0){				String pattern= "Package fragment root ''{0}'' is referenced by the following project(s). Do you still want to delete it?";				String question= MessageFormat.format(pattern, new String[]{root.getElementName()});				if (! query.confirm(question, referencing))					rootsToSkip.add(root);			}		}		removeFromSetToDelete((IJavaElement[]) rootsToSkip.toArray(new IJavaElement[rootsToSkip.size()]));	}