Bug 74529 [Encoding] Encoding on properties no longer explains encoding
I200409212000 This is a regression from previous builds (e.g. 3.0): along with the encoding on the properties dialog there was an explanation where it came from, e.g. inherited from container, detected from file content. This important information has gone.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/AbstractEncodingFieldEditor.java
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Group;
import org.eclipse.jface.preference.FieldEditor;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.ui.WorkbenchEncoding;
import org.eclipse.ui.ide.IDEEncoding;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
/**
 * The abstract superclass of editors used to set an 
 * enconding. Any user entered
 * encodings will be added to the list of encodings in the 
 * IDEEncoding.
 * @since 3.1
 * @see org.eclipse.ui.ide.IDEEncoding
 */
public abstract class AbstractEncodingFieldEditor extends FieldEditor {
	private Composite container;
	private Button defaultEncodingButton;
	private String defaultEnc;
	private Button otherEncodingButton;
	private Combo encodingCombo;
	private boolean isValid = true;