setTitle(JavaPlugin.getResourceString(TITLE)); fMessage= JavaPlugin.getFormattedString(MESSAGE, initialInput);
setTitle(ReorgMessages.getString("nameClashDialog.title")); fMessage= MessageFormat.format(ReorgMessages.getString("nameClashDialog.message"), new String[] { initialInput });
	public NameClashDialog(Shell parent, IInputValidator validator, String initialInput, boolean allowReplace) {		super(parent);		setTitle(JavaPlugin.getResourceString(TITLE));		fMessage= JavaPlugin.getFormattedString(MESSAGE, initialInput);				fValidator= validator;		fDialogStatus= new StatusInfo();				IDialogFieldListener listener= new IDialogFieldListener() {			public void dialogFieldChanged(DialogField field) {				doFieldChanged();			}				};				fReplaceRadioButton= new SelectionButtonDialogField(SWT.RADIO);		fReplaceRadioButton.setDialogFieldListener(listener);		fReplaceRadioButton.setLabelText(JavaPlugin.getResourceString(REPLACE_LABEL));				fRenameRadioButton= new SelectionButtonDialogField(SWT.RADIO);		fRenameRadioButton.setDialogFieldListener(listener);		fRenameRadioButton.setLabelText(JavaPlugin.getResourceString(RENAME_LABEL));				fNameDialogField= new StringDialogField();		fNameDialogField.setDialogFieldListener(listener);				fRenameRadioButton.attachDialogField(fNameDialogField);				if (allowReplace) {			fReplaceRadioButton.setSelection(true);			fRenameRadioButton.setSelection(false);		} else {			fReplaceRadioButton.setSelection(false);			fReplaceRadioButton.setEnabled(false);			fRenameRadioButton.setSelection(true);		}		fNameDialogField.setText(initialInput);	}