}
});
// Create drag controller to control end point dragging
endPointDragController = new EndPointDragController(this.boundaryPanel, true, Diagram.this);
endPointDragController.setBehaviorConstrainedToBoundaryPanel(true);
endPointDragController.setBehaviorDragStartSensitivity(4);
endPointDragController.addDragHandler(new DragHandlerAdapter() {
@Override