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