Bug 79321 Compiler preference page: disabling default compliance settings should leave 'disallow' combos disabled
I200411230838 and before: - Preferences > Java > Compiler: set compiler compliance level to 5.0 and check 'Use default compliance settings'. - Uncheck it again => the two 'Disallow identifiers...' combos become enabled - they should stay disabled with setting 'Error'. - Set source compatibility to 1.4 and back to 5.0 => 'Disallow ...' are OK now.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
Composite commonComposite= createStyleTabContent(folder);
		item= new TabItem(folder, SWT.NONE);
		item.setText("Java code");
		item.setControl(commonComposite);
		Composite javadocComposite= createJavadocTabContent(folder);
		item= new TabItem(folder, SWT.NONE);
		item.setText("Javadoc comments");
		item.setControl(javadocComposite);
		
		Composite othersComposite= createBuildPathTabContent(folder);
		item= new TabItem(folder, SWT.NONE);
		item.setText("Building");
		item.setControl(othersComposite);		
		
		validateSettings(null, null, null);
	
		return folder;
	}
	
	private Composite createStyleTabContent(Composite folder) {
		String[] errorWarningIgnore= new String[] { ERROR, WARNING, IGNORE };
		
		String[] errorWarningIgnoreLabels= new String[] {
			PreferencesMessages.getString("ProblemSeveritiesConfigurationBlock.error"),  
			PreferencesMessages.getString("ProblemSeveritiesConfigurationBlock.warning"), 
			PreferencesMessages.getString("ProblemSeveritiesConfigurationBlock.ignore") 
		};
		
		String[] enabledDisabled= new String[] { ENABLED, DISABLED };