}
}
boolean containsSubprojects=false;
List parents=new ArrayList();
List positions=new ArrayList();
NodeBridge node,parent;
for (Iterator i=roots.iterator();i.hasNext();){
node=(NodeBridge)i.next();
if (NodeModelUtil.nodeIsSubproject(node))
containsSubprojects=true;
parent=(NodeBridge)node.getParent();
parents.add(parent);
positions.add(new Integer(parent.getIndex(node)));
}
if (!confirmRemove(roots))
return;