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
/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.FieldEditor#setPreferenceStore(org.eclipse.jface.preference.IPreferenceStore)
	 */
	public void setPreferenceStore(IPreferenceStore store) {
		super.setPreferenceStore(store);
		defaultEnc = store.getDefaultString(getPreferenceName());
		updateDefaultEncoding();
	}
	private void updateDefaultEncoding() {
		defaultEncodingButton.setText(defaultButtonText());
	}
	private Composite getContainer() {
		return container;
	}
	/**
	 * Creates a composite with all the encoding controls.
     * <p>
     * Subclasses may extend.
     * </p>
     * 
	 * @param parent the parent widget
	 * @param numColumns the number of columns in the parent
	 * @return the group control
	 */
	protected Composite createEncodingGroup(Composite parent, int numColumns) {
		Font font = parent.getFont();
		Group group = new Group(parent, SWT.NONE);
		GridData data = new GridData(GridData.FILL_HORIZONTAL);
		group.setLayoutData(data);
		GridLayout layout = new GridLayout();