Bug 123965 [Preferences] Cancelling Compiler Error/Warning property page still puts them in effect
Eclipse 3.2 M4 When changing the "Non-externalized strings" field (under properties -> java compiler -> Errors/Warnings) from Ignore to Error a message appears stating that a project rebuild is required for the changes to take effect. Unfortunately, the rebuild still occurs even if the user clicks Cancel. Also, once the cancel button returns the user to the settings window the OK button is no longer available and the user must click the cancel button. Futhermore, even after the cancel button is clicked, the setting changes are still put into effect.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
* @param newMessage
	 *            the message, or <code>null</code> to clear the message
	 */
	public void setMessage(String newMessage) {
		setMessage(newMessage, IMessageProvider.NONE);
	}
	/**
	 * Sets the message for this dialog with an indication of what type of
	 * message it is.
	 * <p>
	 * The valid message types are one of <code>NONE</code>,
	 * <code>INFORMATION</code>,<code>WARNING</code>, or
	 * <code>ERROR</code>.
	 * </p>
	 * <p>
	 * Note that for backward compatibility, a message of type
	 * <code>ERROR</code> is different than an error message (set using
	 * <code>setErrorMessage</code>). An error message overrides the current
	 * message until the error message is cleared. This method replaces the
	 * current message and does not affect the error message.
	 * </p>
	 * 
	 * @param newMessage
	 *            the message, or <code>null</code> to clear the message
	 * @param newType
	 *            the message type
	 * @since 2.0
	 */
	public void setMessage(String newMessage, int newType) {
		messageArea.updateText(newMessage, newType);