com.setIndex(request.getIndex());
return com;
}
protected Command getDeleteBendpointCommand(BendpointRequest request) {
BendpointCommand com = new DeleteBendpointCommand();
Point p = request.getLocation();
com.setLocation(p);
com.setWire((Wire)request.getSource().getModel());
com.setIndex(request.getIndex());
return com;
}