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
scrolled.setExpandVertical(true);
			
			Composite composite= new Composite(scrolled, SWT.NONE);
			composite.setLayout(new GridLayout(1, false));
			composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
			
			createGroups(composite);
			scrolled.setContent(composite);
			
			scrolled.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
	
			setControl(scrolled);
			
			Dialog.applyDialogFont(scrolled);
		}
		
		private void createGroups(Composite parent) {
			CleanUpRefactoring refactoring= (CleanUpRefactoring)getRefactoring();
			ICompilationUnit[] compilationUnits= refactoring.getCompilationUnits();
			final IJavaProject project;
			if (areInSameProject(compilationUnits)) {
				project= compilationUnits[0].getJavaProject();
			} else {
				project= null;
			}
			NameCleanUpTuple[] cleanUps= getNamedCleanUps();
			for (int i= 0; i < cleanUps.length; i++) {
				NameCleanUpTuple tuple= cleanUps[i];
				
				Group group= new Group(parent, SWT.NONE);