Bug 120528 [clean up] inside editor behaves unexpected
Build id: I20051213-0010 Invoking Context Menu > Source > Clean Up... inside a java editor currently does nothing (no dialog, no error message). We should either assume the enclosing cu as a selection or disable the action.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java
tuple[i].getCleanUp().saveSettings(settings);
			}
		}
		private void initializeRefactoring() {
			CleanUpRefactoring refactoring= (CleanUpRefactoring)getRefactoring();
			refactoring.clearCleanUps();
			NameCleanUpTuple[] tuple= getNamedCleanUps();
			for (int i= 0; i < tuple.length; i++) {
				refactoring.addCleanUp(tuple[i].getCleanUp());
			}
		}	
		
		private NameCleanUpTuple[] getNamedCleanUps() {
			if (fCleanUps == null) {
				ICleanUp[] fixes= createAllCleanUps();
				fCleanUps= new NameCleanUpTuple[4];
				fCleanUps[0]= new NameCleanUpTuple(MultiFixMessages.CleanUpRefactoringWizard_CodeStyleSection_description, fixes[0]);
				fCleanUps[1]= new NameCleanUpTuple(MultiFixMessages.CleanUpRefactoringWizard_UnusedCodeSection_description, fixes[1]);
				fCleanUps[2]= new NameCleanUpTuple(MultiFixMessages.CleanUpRefactoringWizard_J2SE50Section_description, fixes[2]);
				fCleanUps[3]= new NameCleanUpTuple(MultiFixMessages.CleanUpRefactoringWizard_StringExternalization_description, fixes[3]);
			}
			return fCleanUps;
		}
	}
	
	private final boolean fShowCUPage;
	private final boolean fShowCleanUpPage;
	
	public CleanUpRefactoringWizard(CleanUpRefactoring refactoring, int flags, boolean showCUPage, boolean showCleanUpPage) {
		super(refactoring, flags);