for (Iterator<Map.Entry<Widget, Connection>> it = connectMap.entrySet().iterator(); it.hasNext();) {
Map.Entry<Widget, Connection> entry = it.next();
Connection c = entry.getValue();
if (c.getStartShape() == s) {
FunctionShape e = (FunctionShape) c.getEndShape();
current.add((NodeWidget) e.asWidget());
}
}
return current;
}