Point2D pt = editor.locatePoint(e.getPoint());
if (model == null) {
model = new LineModel();
model.addPoint((Point2D) pt.clone());
ctr = new PolyLineController(model);
editor.getEditControllers().add(ctr);
index = 0;
// add property chane listener
model.addPropertyChangeListener(editor);