Eclipse Platform
2.0

org.eclipse.jface.text
Interface ITextInputListener


public interface ITextInputListener

Text input listeners registered with an text viewer are informed if the document serving as the text viewer's model is replaced. Clients may implement this interface.

See Also:
ITextViewer, IDocument

Method Summary
 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.
 

Method Detail

inputDocumentAboutToBeChanged

public void inputDocumentAboutToBeChanged(IDocument oldInput,
                                          IDocument newInput)
Called before the input document is replaced.

Parameters:
oldInput - the text viewer's previous input document
newInput - the text viewer's new input document

inputDocumentChanged

public void inputDocumentChanged(IDocument oldInput,
                                 IDocument newInput)
Called after the input document has been replaced.

Parameters:
oldInput - the text viewer's previous input document
newInput - the text viewer's new input document

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.