Bug 88774 [preferences][content assist] New Jdtcore options to add inside preference page
build I20050322 + Jdtcore head JavaCore#CODEASSIST_FORBIDDEN_REFERENCE_CHECK and JavaCore#CODEASSIST_DISCOURAGED_REFERENCE_CHECK options have been added. If these options are enabled non accessible types will not be proposed by completion. If these options are disabled non accessible types will be proposed but will be less relevant than other completion. JavaCore#CODEASSIST_FORBIDDEN_REFERENCE_CHECK replace the old option JavaCore#CODEASSIST_ACCESS_RESRICTION_CHECK. These new options need to be show inside the code assist preferences.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistConfigurationBlock.java
l= new Label(stylesComposite, SWT.LEFT);
		l.setText(PreferencesMessages.JavaEditorPreferencePage_codeAssist_color); 
		gd= new GridData();
		gd.horizontalAlignment= GridData.BEGINNING;
		l.setLayoutData(gd);
		
		fContentAssistColorEditor= new ColorEditor(stylesComposite);
		Button colorButton= fContentAssistColorEditor.getButton();
		gd= new GridData(GridData.FILL_HORIZONTAL);
		gd.horizontalAlignment= GridData.BEGINNING;
		colorButton.setLayoutData(gd);
		
		fContentAssistColorList.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
				
			}
			public void widgetSelected(SelectionEvent e) {
				handleContentAssistColorListSelection();
			}
		});
		colorButton.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
				
			}
			public void widgetSelected(SelectionEvent e) {
				int i= fContentAssistColorList.getSelectionIndex();
				Key key= (Key) fContentAssistColorListModel[i][1];
				setValue(key, StringConverter.asString(fContentAssistColorEditor.getColorValue()));
			}