public List<TerminalInfo> pickTerminals(Point2D controlPos) {\r
Rectangle2D controlPickRect = new Rectangle2D.Double(controlPos.getX()-SysdynPointerInteractor.PICK_DIST, controlPos.getY()-SysdynPointerInteractor.PICK_DIST, SysdynPointerInteractor.PICK_DIST*2+1, SysdynPointerInteractor.PICK_DIST*2+1);\r
Shape canvasPickRect = GeometryUtils.transformShape(controlPickRect, util.getInverseTransform());\r
- return TerminalUtil.pickTerminals(diagram, canvasPickRect, false, true);\r
+ return TerminalUtil.pickTerminals(getContext(), diagram, canvasPickRect, false, true);\r
}\r
}\r