Bug 3512 Reorg confirmation dialog (1G470GF)
- the title shouldn't be "Save". It should be more specific regarding the current reorg action. - ok should be the default button. NOTES: EG (11/17/00 12:38:48 PM) not critical
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/MoveAction.java
if (change == null)
				return;
			setChange(change);
		}
		
		private IChange computeChange(Refactoring ref) throws CoreException{
			CreateChangeOperation op= new CreateChangeOperation(ref, CreateChangeOperation.CHECK_NONE);
			try{
				new ProgressMonitorDialog(JavaPlugin.getActiveWorkbenchShell()).run(true, true, op);
			} catch (InvocationTargetException e) {
				Throwable t= e.getTargetException();
				if (t instanceof CoreException)
					throw (CoreException)t;
				if (t instanceof Error)
					throw (Error)t;
				if (t instanceof RuntimeException)
					throw (RuntimeException)t;
				Assert.isTrue(false);
				return null;
			} catch (InterruptedException e) {
				
			}
			return op.getChange();
		}		
	}
	
	private class MoveDestinationDialog extends ElementTreeSelectionDialog {
		private static final int PREVIEW_ID= IDialogConstants.CLIENT_ID + 1;
		private MoveRefactoring fRefactoring;
		private Button fCheckbox;