Bug 74708 [Encoding] IDEEncodingPreferencePage does not disable OK when invalid encoding is entered
20040921-2000 If you enter an invalid encoding in the IDEEncodingsPreferencePage you will still be able to select OK STEPS 1) Open the Editors preference page 2) Type ffff 3) You are warned but OK is still enabled.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
private Button editableBox;
	private Button derivedBox;
	private boolean previousReadOnlyValue;
	private boolean previousDerivedValue;
	private IContentDescription cachedContentDescription;
	
	private ResourceEncodingFieldEditor encodingEditor;
	private static String READ_ONLY = IDEWorkbenchMessages
			.getString("ResourceInfo.readOnly"); 
	private static String DERIVED = IDEWorkbenchMessages
			.getString("ResourceInfo.derived"); 
	private static String TYPE_TITLE = IDEWorkbenchMessages
			.getString("ResourceInfo.type"); 
	private static String LOCATION_TITLE = IDEWorkbenchMessages
			.getString("ResourceInfo.location"); 
	private static String RESOLVED_LOCATION_TITLE = IDEWorkbenchMessages
			.getString("ResourceInfo.resolvedLocation"); 
	private static String SIZE_TITLE = IDEWorkbenchMessages
			.getString("ResourceInfo.size"); 
	private static String BYTES_LABEL = IDEWorkbenchMessages
			.getString("ResourceInfo.bytes"); 
	private static String FILE_LABEL = IDEWorkbenchMessages
			.getString("ResourceInfo.file"); 
	private static String FILE_TYPE_FORMAT = IDEWorkbenchMessages
			.getString("ResourceInfo.fileTypeFormat"); 
	private static String FOLDER_LABEL = IDEWorkbenchMessages
			.getString("ResourceInfo.folder"); 
	private static String PROJECT_LABEL = IDEWorkbenchMessages
			.getString("ResourceInfo.project");