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/actions/CleanUpAction.java
*/
	public void runOnMultiple(final ICompilationUnit[] cus) {
		String message= ActionMessages.CleanUpAction_MultiStateErrorTitle; 
		final MultiStatus status= new MultiStatus(JavaUI.ID_PLUGIN, IStatus.OK, message, null);
		for (int i= 0; i < cus.length; i++) {
			testOnBuildPath(cus[i], status);
		}
		
		if (!status.isOK()) {
			String title= ActionMessages.CleanUpAction_ErrorDialogTitle; 
			ProblemDialog.open(getShell(), title, null, status);
			return;
		}
			
		CleanUpRefactoring refactoring= new CleanUpRefactoring();
		for (int i= 0; i < cus.length; i++) {
			refactoring.addCompilationUnit(cus[i]);
		}
		
		CleanUpRefactoringWizard refactoringWizard= new CleanUpRefactoringWizard(refactoring, RefactoringWizard.WIZARD_BASED_USER_INTERFACE, false, true);
		
		RefactoringStarter starter= new RefactoringStarter();
		try {
			starter.activate(refactoring, refactoringWizard, JavaPlugin.getActiveWorkbenchShell(), "Clean ups", true); 
		} catch (JavaModelException e) {
			JavaPlugin.log(e);
			showUnexpectedError(e);
		}
		return;
	}