3536373839404142434445
@Override public boolean init(MouseEvent e) { Point2D pt = view.locatePoint(e.getPoint()); model = new LineModel(pt, pt); ctr = new LineController(model); view.getEditControllers().add(ctr); return true; }