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
private Button fPreview;
		
		MoveDestinationDialog(Shell parent, ILabelProvider labelProvider, 	ITreeContentProvider contentProvider, MoveRefactoring refactoring){
			super(parent, labelProvider, contentProvider);
			fRefactoring= refactoring;
			fShowPreview= false;
		}
		
		protected Control createDialogArea(Composite parent) {
			Composite result= (Composite)super.createDialogArea(parent);
			fCheckbox= new Button(result, SWT.CHECK);
			fCheckbox.setText("Update references to the moved element(s).");
			fCheckbox.setEnabled(canUpdateReferences());
			fCheckbox.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					updatePreviewButton();
					fRefactoring.setUpdateReferences(fCheckbox.getEnabled() && fCheckbox.getSelection());
				}
			});
			fCheckbox.setSelection(canUpdateReferences());
			return result;
		}
		
		protected void createButtonsForButtonBar(Composite parent) {
			super.createButtonsForButtonBar(parent);
			fPreview= createButton(parent, PREVIEW_ID, "Preview", false);
		}
		
		protected void updateOKStatus() {
			super.updateOKStatus();