protected Command getCreateBendpointCommand(BendpointRequest request) {
Point point = request.getLocation();
getConnection().translateToRelative(point);
CreateBendpointCommand command = new CreateBendpointCommand();
command.setLocation(point);
command.setConnection(getHost().getModel());
command.setIndex(request.getIndex());
return command;
}