Class CustomXtextSourceViewer.CustomFactory

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.XtextSourceViewer.Factory
    Enclosing class:
    CustomXtextSourceViewer

    public static class CustomXtextSourceViewer.CustomFactory
    extends Object
    implements org.eclipse.xtext.ui.editor.XtextSourceViewer.Factory
    Custom implementation of XtextSourceViewer.Factory, that creates CustomXtextSourceViewer.
    • Constructor Detail

      • CustomFactory

        public CustomFactory()
    • Method Detail

      • createSourceViewer

        public org.eclipse.xtext.ui.editor.XtextSourceViewer createSourceViewer​(org.eclipse.swt.widgets.Composite parent,
                                                                                org.eclipse.jface.text.source.IVerticalRuler ruler,
                                                                                org.eclipse.jface.text.source.IOverviewRuler overviewRuler,
                                                                                boolean showsAnnotationOverview,
                                                                                int styles)
        Specified by:
        createSourceViewer in interface org.eclipse.xtext.ui.editor.XtextSourceViewer.Factory