Project: Eclipse_Platform_UI
Bug 75988 [Preferences] IPreferencePage#performOk() returning false should prevent the dialog from closing
Reported: 2004-10-09 12:13:35 | Status: verified fixed

I think that if this method returns false, it should prevent the dialog from closing. Today, in order to perform validation I have to register key listeners to all fields an use #setValid(false) to disable the "OK" button.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java