private static final List NULL_CONSTRAINT = new ArrayList();
private Map<Shape, Integer> shapeToLineStyle = new HashMap<Shape, Integer>();
protected Command getCreateBendpointCommand(BendpointRequest request) {
ConnectionEditPart connectionEditPart = (ConnectionEditPart)getHost();
if (connectionEditPart.getSource() == connectionEditPart.getTarget())
{
return null;
}
CreateBendPointCommand com = new CreateBendPointCommand();
Point p = request.getLocation();