31,32c31 < * @param image the pathname of the image < * @param view the target view --- > * @param newDrawingEditor the DrawingEditor which manages the views 34,35c33,34 < public PasteCommand(String name, DrawingView view) { < super(name, view); --- > public PasteCommand(String name, DrawingEditor newDrawingEditor) { > super(name, newDrawingEditor); 38a38 > super.execute(); 59a60,63 > public boolean isExecutableWithView() { > return Clipboard.getClipboard().getContents() != null; > } >