// Store all connectors and shapes
connectors = new ArrayList<Connector>();
shapes = new ArrayList<Shape>();
// Create drag controller to control shapes dragging
shapeDragController = new ShapePickupDragController(boundaryPanel, true, Diagram.this);
shapeDragController.setBehaviorDragStartSensitivity(2);
shapeDragController.setBehaviorConstrainedToBoundaryPanel(true);
shapeDragController.setBehaviorMultipleSelection(true);
shapeDragController.addDragHandler(new DragHandlerAdapter() {