public JavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor editor) { super(createPreferenceStore(tools)); fJavaTextTools= tools; fColorManager= tools.getColorManager(); fCodeScanner= (AbstractJavaScanner) fJavaTextTools.getCodeScanner(); fMultilineCommentScanner= (AbstractJavaScanner) fJavaTextTools.getMultilineCommentScanner(); fSinglelineCommentScanner= (AbstractJavaScanner) fJavaTextTools.getSinglelineCommentScanner(); fStringScanner= (AbstractJavaScanner) fJavaTextTools.getStringScanner(); fJavaDocScanner= (AbstractJavaScanner) fJavaTextTools.getJavaDocScanner();
public JavaSourceViewerConfiguration(IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) { super(preferenceStore); fColorManager= colorManager;
	public JavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor editor) {		super(createPreferenceStore(tools));		fJavaTextTools= tools;		fColorManager= tools.getColorManager();		fCodeScanner= (AbstractJavaScanner) fJavaTextTools.getCodeScanner();		fMultilineCommentScanner= (AbstractJavaScanner) fJavaTextTools.getMultilineCommentScanner();		fSinglelineCommentScanner= (AbstractJavaScanner) fJavaTextTools.getSinglelineCommentScanner();		fStringScanner= (AbstractJavaScanner) fJavaTextTools.getStringScanner();		fJavaDocScanner= (AbstractJavaScanner) fJavaTextTools.getJavaDocScanner();		fTextEditor= editor;	}