Bug 169694 [Preferences] EncodingFieldEditor.store() does not store correct value
3.3 M4 EncodingFieldEditor.store() does not store the correct value in the following scenario: 1. open with the default checked 2. select an encoding from the combo 3. call store() ==> the new value is not stored into the preference store. REASON: AbstractEncodingFieldEditor.updateEncodingState(boolean useDefault) misses the following call: setPresentsDefaultValue(useDefault);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/AbstractEncodingFieldEditor.java
/**
	 * Returns the value that is currently stored for the encoding.
     * 
	 * @return the currently stored encoding
	 */
	protected abstract String getStoredValue();
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.FieldEditor#doLoadDefault()
	 */
	protected void doLoadDefault() {
		updateEncodingState(true);
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.FieldEditor#getNumberOfControls()
	 */
	public int getNumberOfControls() {
		return 1;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.FieldEditor#isValid()
	 */
	public boolean isValid() {
		return isValid;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.FieldEditor#refreshValidState()
	 */
	protected void refreshValidState() {
		updateValidState();
	}