Collection editPartsToProcess = new HashSet();
editPartsToProcess.addAll(EditPartUtilities.getAllChildren(getNodeEditPart(fromEditPart)));
List<EditPart> selectedEditParts = new ArrayList<EditPart>();
for (Iterator iterator = editPartsToProcess.iterator(); iterator.hasNext();) {
GraphicalEditPart editPart = (GraphicalEditPart) iterator.next();
if (editPart.isSelectable() && FigureUtilities.isNotFullyClipped(editPart.getFigure()) && isEditPartInRect(editPart, rect)) {
selectedEditParts.add(editPart);
}
}
filterEditParts(selectedEditParts, fromEditPart, getSourceEditPart());
for (EditPart editPart : selectedEditParts) {