Bug 51184 Fonts on Preference Pages
Eclipse 3.0 M6. The following preference pages do not inherit their font settings from their parent Composite. Of course, this could be by design, but I doubt it. You can see this by changing the Dialog Font preference (Workspace > Fonts) from the default, 8 points, to something big such as 16 points. Next time you open the preferences you'll see that most other pages respect the Dialog Font setting. The offenders are as follows: Java > Code Formatter - Preview text area. Java > Code Formatter (WIP turned on) - Preview text area. - Dialog that opens after Clicking the "Edit..." button. Java > Editor > Syntax tab - Preview text area. Java > Editor > Templates - Preview text area. Java > Work in Progress - The whole page. There are other preference page offenders in Platform and Team, for which I'll submit individual bug reports.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/WorkInProgressPreferencePage.java
}
		for (int i= 0; i < fRadioButtons.size(); i++) {
			Button button= (Button) fRadioButtons.get(i);
			if (button.getSelection()) {
				String[] info= (String[]) button.getData();
				store.setValue(info[0], info[1]);
			}
		}
		for (int i= 0; i < fTextControls.size(); i++) {
			Text text= (Text) fTextControls.get(i);
			String key= (String) text.getData();
			store.setValue(key, text.getText());
		}
		
		JavaPlugin.getDefault().savePluginPreferences();
		return super.performOk();
	}
	/**
	 * @param store
	 */
	public static void initDefaults(IPreferenceStore store) {
		store.setDefault(PreferenceConstants.EDITOR_SMART_SEMICOLON, false);
		store.setDefault(PreferenceConstants.EDITOR_SMART_OPENING_BRACE, false);
		
		store.setDefault(PreferenceConstants.APPEARANCE_QUICKASSIST_LIGHTBULB, false);
		store.setDefault(PREF_SEARCH_MENU, true);
		store.setDefault(PREF_SEARCH_IGNORE_IMPORTS, false);
	}
}