113a114,114 > * @param newDrawingEditor the DrawingEditor which manages the views 114,114d113 < * @param view the target view 116,116c116,116 < public AlignCommand(Alignment newAlignment, DrawingView view) { --- > public AlignCommand(Alignment newAlignment, DrawingEditor newDrawingEditor) { 117,117c117,117 < super(newAlignment.getDescription(), view); --- > super(newAlignment.getDescription(), newDrawingEditor); 120a121,121 > protected boolean isExecutableWithView() { 121,121d120 < public boolean isExecutable() { 125a126,126 > super.execute();