CropRotateManager(Engine engine, XFormModel xform) {
this.engine = engine;
this.xform = xform;
rotorMode = new CropMode(true);
cropMode = new CropMode(false);
hiddenRotorMode = new RotorMode();
bounds = new CropBounds();
undo = new UndoableEditSupport();
cropMode.addCropListener( new LocalCropListener( "Crop" ) );
rotorMode.addCropListener( new LocalCropListener( "Rotate" ) );
hiddenRotorMode.addRotorListener(this);