public interface ITextInputListener
ITextViewer are informed if the document
serving as the text viewer's model is replaced.
Clients may implement this interface.
ITextViewer,
org.eclipse.jface.text.IDocument| Modifier and Type | Method and Description |
|---|---|
void |
inputDocumentAboutToBeChanged(IDocument oldInput,
IDocument newInput)
Called before the input document is replaced.
|
void |
inputDocumentChanged(IDocument oldInput,
IDocument newInput)
Called after the input document has been replaced.
|
void inputDocumentAboutToBeChanged(IDocument oldInput,
IDocument newInput)
oldInput - the text viewer's previous input documentnewInput - the text viewer's new input documentvoid inputDocumentChanged(IDocument oldInput,
IDocument newInput)
oldInput - the text viewer's previous input documentnewInput - the text viewer's new input document