Bug 31298 move of read-only java file gives error dialog after confirmation
- 'move' read-only java file - uncheck all options - choose dest package - press ok - confirm the movement of a read-only file -> error dialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtMoveAction.java
}
	public static void openWizard(Shell parent, ReorgRefactoring refactoring) {
		
		RefactoringWizard wizard= new RefactoringWizard(refactoring, ReorgMessages.getString("JdtMoveAction.move"), IJavaHelpContextIds.MOVE_CU_ERROR_WIZARD_PAGE); 
		wizard.setChangeCreationCancelable(false);
		new RefactoringWizardDialog(parent, wizard).open();	
		return;	
	}
	
	private void moveProject(IStructuredSelection selection){
		MoveProjectAction action= new MoveProjectAction(JavaPlugin.getActiveWorkbenchShell());
		action.selectionChanged(selection);
		action.run();
	}
	
	
		
	private static class MoveDestinationDialog extends ElementTreeSelectionDialog {
		private MoveRefactoring fRefactoring;
		private Button fReferenceCheckbox;
		private Button fQualifiedNameCheckbox;
		private QualifiedNameComponent fQualifiedNameComponent;
		private Button fPreview;
		
		MoveDestinationDialog(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, MoveRefactoring refactoring) {
			super(parent, labelProvider, contentProvider);
			fRefactoring= refactoring;
			setDoubleClickSelects(false);
		}