32,32c32,32 < public ConnectedTextTool(DrawingView view, Figure prototype) { --- > public ConnectedTextTool(DrawingEditor editor, Figure prototype) { 33,33c33,33 < super(view, prototype); --- > super(editor, prototype); 45,46d44 < System.out.println("pressedFigure: " + pressedFigure); < System.out.println("textHolder: " + textHolder); 55a54,55 > * If the pressed figure is a TextHolder it can be edited otherwise > * a new text figure is created. 56,56d53 < * Activate this tool 58a58,58 > super.activate();