Package org.eclipse.jface.text
Interface ITextInputListener
- All Known Implementing Classes:
DefaultHyperlinkPresenter
,MultipleHyperlinkPresenter
,PaintManager
public interface ITextInputListener
Text input listeners registered with an
ITextViewer
are informed if the document
serving as the text viewer's model is replaced.
Clients may implement this interface.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Method Details
-
inputDocumentAboutToBeChanged
Called before the input document is replaced.- Parameters:
oldInput
- the text viewer's previous input documentnewInput
- the text viewer's new input document
-
inputDocumentChanged
Called after the input document has been replaced.- Parameters:
oldInput
- the text viewer's previous input documentnewInput
- the text viewer's new input document
-