|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)
oldInput
- the text viewer's previous input documentnewInput
- the text viewer's new input documentpublic void inputDocumentChanged(IDocument oldInput, IDocument newInput)
oldInput
- the text viewer's previous input documentnewInput
- the text viewer's new input document
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.