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
/*******************************************************************************
 * Copyright (c) 2004, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *     Daniel Megert daniel_megert@ch.ibm.com Bug 169696
 *******************************************************************************/
package org.eclipse.ui.ide.dialogs;
import java.nio.charset.Charset;
import java.nio.charset.IllegalCharsetNameException;