public abstract class AbstractContentViewer
extends org.eclipse.jface.viewers.Viewer
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.compare.CompareConfiguration |
compareConfiguration |
protected java.lang.Object |
input |
protected org.eclipse.swt.widgets.Composite |
parent |
protected org.eclipse.jface.viewers.ISelection |
selection |
protected org.eclipse.jface.text.source.ISourceViewer |
sourceViewer |
Constructor and Description |
---|
AbstractContentViewer() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
configureSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
protected abstract org.eclipse.jface.text.source.ISourceViewer |
createSourceViewer() |
org.eclipse.compare.CompareConfiguration |
getCompareConfiguration() |
org.eclipse.swt.widgets.Control |
getControl() |
java.lang.Object |
getInput() |
org.eclipse.swt.widgets.Composite |
getParent() |
org.eclipse.jface.viewers.ISelection |
getSelection() |
void |
init(org.eclipse.swt.widgets.Composite parent,
org.eclipse.compare.CompareConfiguration config) |
void |
refresh() |
void |
setInput(java.lang.Object input) |
void |
setSelection(org.eclipse.jface.viewers.ISelection selection,
boolean reveal) |
protected org.eclipse.swt.widgets.Composite parent
protected org.eclipse.compare.CompareConfiguration compareConfiguration
protected org.eclipse.jface.viewers.ISelection selection
protected org.eclipse.jface.text.source.ISourceViewer sourceViewer
protected java.lang.Object input
public void init(org.eclipse.swt.widgets.Composite parent, org.eclipse.compare.CompareConfiguration config)
public org.eclipse.swt.widgets.Control getControl()
getControl
in class org.eclipse.jface.viewers.Viewer
protected abstract org.eclipse.jface.text.source.ISourceViewer createSourceViewer()
protected abstract void configureSourceViewer(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
public java.lang.Object getInput()
getInput
in interface org.eclipse.jface.viewers.IInputProvider
getInput
in class org.eclipse.jface.viewers.Viewer
public org.eclipse.jface.viewers.ISelection getSelection()
getSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
getSelection
in class org.eclipse.jface.viewers.Viewer
public void refresh()
refresh
in class org.eclipse.jface.viewers.Viewer
public void setInput(java.lang.Object input)
setInput
in class org.eclipse.jface.viewers.Viewer
public void setSelection(org.eclipse.jface.viewers.ISelection selection, boolean reveal)
setSelection
in class org.eclipse.jface.viewers.Viewer
public org.eclipse.swt.widgets.Composite getParent()
public org.eclipse.compare.CompareConfiguration getCompareConfiguration()