Search in sources :

Example 1 with SpecfileConfiguration

use of org.eclipse.linuxtools.internal.rpm.ui.editor.SpecfileConfiguration in project linuxtools by eclipse.

the class SpecMergeViewer method configureTextViewer.

@Override
protected void configureTextViewer(TextViewer textViewer) {
    if (textViewer instanceof SourceViewer) {
        SpecfileEditor editor = new SpecfileEditor();
        ((SourceViewer) textViewer).configure(new SpecfileConfiguration(editor));
    }
}
Also used : SpecfileConfiguration(org.eclipse.linuxtools.internal.rpm.ui.editor.SpecfileConfiguration) SourceViewer(org.eclipse.jface.text.source.SourceViewer) SpecfileEditor(org.eclipse.linuxtools.internal.rpm.ui.editor.SpecfileEditor)

Aggregations

SourceViewer (org.eclipse.jface.text.source.SourceViewer)1 SpecfileConfiguration (org.eclipse.linuxtools.internal.rpm.ui.editor.SpecfileConfiguration)1 SpecfileEditor (org.eclipse.linuxtools.internal.rpm.ui.editor.SpecfileEditor)1