Bug 89502 [build path] Access Restrictions: severity for 'Not accessible' is configurable, but not for 'Discouraged'
I20050329-2000 summary says it all - the problem severity for 'Discouraged' accesses should be configurable as well. Currently, if you set the severity for 'Not accessible' to 'Ignore', you end up with warnings on 'Discouraged' accesses, but nothing for 'Not accessible' ones, which is not intuitive.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuildConfigurationBlock.java
};
		return keys;
	}
	
	
	/*
	 * @see org.eclipse.jface.preference.PreferencePage#createContents(Composite)
	 */
	protected Control createContents(Composite parent) {
		fPixelConverter= new PixelConverter(parent);
		setShell(parent.getShell());
		
		Composite othersComposite= createBuildPathTabContent(parent);
		validateSettings(null, null, null);
	
		return othersComposite;
	}
	
	private Composite createBuildPathTabContent(Composite parent) {	
		String[] abortIgnoreValues= new String[] { ABORT, IGNORE };
		String[] cleanIgnoreValues= new String[] { CLEAN, IGNORE };
		String[] enableDisableValues= new String[] { ENABLED, DISABLED };
		
		String[] errorWarning= new String[] { ERROR, WARNING };
		
		String[] errorWarningLabels= new String[] {
			PreferencesMessages.getString("JavaBuildConfigurationBlock.error"),  
			PreferencesMessages.getString("JavaBuildConfigurationBlock.warning") 
		};