Bug 13170 Missing description on preference pages
Build 20020409 Java preference pages have a description (ended by .) Java -> Refactoring Java -> Junit don't. They start directly with the preferences. Note: Filed separate PR for Java -> Debug
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/RefactoringPreferencePage.java
1,
			new String[] [] {
				{ RefactoringMessages.getString("RefactoringPreferencePage.fatal_error"), FATAL_SEVERITY }, 
				{ RefactoringMessages.getString("RefactoringPreferencePage.error"), ERROR_SEVERITY }, 
				{ RefactoringMessages.getString("RefactoringPreferencePage.warning"), WARNING_SEVERITY }, 
				{ RefactoringMessages.getString("RefactoringPreferencePage.info"), INFO_SEVERITY } 
			},
			parent, true
			);
		return editor;	
	}
	
	private FieldEditor createSaveAllField(Composite parent) {
		BooleanFieldEditor editor= new BooleanFieldEditor(
		RefactoringPreferences.PREF_SAVE_ALL_EDITORS,
			RefactoringMessages.getString("RefactoringPreferencePage.auto_save"), 
			BooleanFieldEditor.DEFAULT,
			parent);
		return editor;
	}
	
	public void init(IWorkbench workbench) {
	}
	
	public boolean performOk() {
		JavaPlugin.getDefault().savePluginPreferences();
		return super.performOk();
	}
}