fViewer= new JavaSourceViewer(parent, null, null, false, SWT.V_SCROLL | SWT.H_SCROLL); fViewer.configure(new JavaSourceViewerConfiguration(JavaPlugin.getDefault().getJavaTextTools(), null));
IPreferenceStore store= JavaPlugin.getDefault().getCombinedPreferenceStore(); fViewer= new JavaSourceViewer(parent, null, null, false, SWT.V_SCROLL | SWT.H_SCROLL, store); fViewerConfiguration= new JavaSourceViewerConfiguration(JavaPlugin.getDefault().getJavaTextTools().getColorManager(), store, null, null); fViewer.configure(fViewerConfiguration);
	protected void internalCreatePartControl(Composite parent) {		fViewer= new JavaSourceViewer(parent, null, null, false, SWT.V_SCROLL | SWT.H_SCROLL);		fViewer.configure(new JavaSourceViewerConfiguration(JavaPlugin.getDefault().getJavaTextTools(), null));		fViewer.setEditable(false);		setViewerFont();		JFaceResources.getFontRegistry().addListener(fFontPropertyChangeListener);				JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPropertyChangeListener);		getViewSite().setSelectionProvider(fViewer);	}