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
private class NameCleanUpTuple {
			private final ICleanUp fCleanUp;
			private final String fName;
			public NameCleanUpTuple(String name, ICleanUp cleanUp) {
				fName= name;
				fCleanUp= cleanUp;
			}
			public ICleanUp getCleanUp() {
				return fCleanUp;
			}
			public String getName() {
				return fName;
			}
		}
		
		private NameCleanUpTuple[] fCleanUps;
		
		public SelectCleanUpPage(String name) {
			super(name);
		}
		
		public void createControl(Composite parent) {
			ScrolledComposite scrolled= new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);
			scrolled.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
			scrolled.setLayout(new GridLayout(1, false));
			scrolled.setExpandHorizontal(true);