Bug 114732 [clean up] Activating clean up via Ctrl+Enter gives wrong wizard message
I20051102-0010 - have code: private void mm() {} private void mm2() {} - invoke quick fix on mm() to remove the unused private method - start the clean up with Ctrl+Enter => The Clean Up dialog message is: "Select compilation units on which you want to apply the cleanups. You can select individual cleanups on the next page." Expected: Select compilation units on which you want to apply the 'Remove unused private methods' cleanups.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java
settings.put(SETTINGS_FLAG_NAME, fFlags);
	}
	protected void setFlag(int flag, boolean b) {
		if (!isFlag(flag) && b) {
			fFlags |= flag;
		} else if (isFlag(flag) && !b) {
			fFlags &= ~flag;
		}
	}
	protected boolean isFlag(int flag) {
		return (fFlags & flag) != 0;
	}
	protected Button addCheckBox(Composite parent, final int flag, String label) {
		return addCheckBox(parent, flag, label, new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				setFlag(flag, ((Button)e.getSource()).getSelection());
			}
		});
	}
	protected Button addCheckBox(Composite parent, final int flag, String label, SelectionAdapter adapter) {
		Button button= new Button(parent, SWT.CHECK);
		button.setText(label);
		button.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));
		button.setSelection(isFlag(flag));
		button.addSelectionListener(adapter);
		return button;
	}
	
}