protected Command getMoveBendpointCommand(BendpointRequest request) {
Point location = request.getLocation();
getConnection().translateToRelative(location);
MoveBendpointCommand command = new MoveBendpointCommand();
command.setConnectionModel(getHost().getModel());
command.setIndex(request.getIndex());
command.setNewLocation(location);
return command;
}