public class DefaultContentViewer extends AbstractContentViewer
Modifier and Type | Field and Description |
---|---|
protected StreamContentDocumentProvider |
documentProvider |
protected XtextSourceViewerConfiguration |
sourceViewerConfiguration |
compareConfiguration, input, parent, selection, sourceViewer
Constructor and Description |
---|
DefaultContentViewer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
protected org.eclipse.jface.text.source.ISourceViewer |
createSourceViewer() |
void |
setInput(java.lang.Object input) |
getCompareConfiguration, getControl, getInput, getParent, getSelection, init, refresh, setSelection
@Inject protected XtextSourceViewerConfiguration sourceViewerConfiguration
@Inject protected StreamContentDocumentProvider documentProvider
protected org.eclipse.jface.text.source.ISourceViewer createSourceViewer()
createSourceViewer
in class AbstractContentViewer
protected void configureSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
configureSourceViewer
in class AbstractContentViewer
public void setInput(java.lang.Object input)
setInput
in class AbstractContentViewer