org.eclipse.xtext.ui.editor.reconciler
Class XtextReconciler.TextInputListener

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.TextInputListener
All Implemented Interfaces:
org.eclipse.jface.text.ITextInputListener
Enclosing class:
XtextReconciler

protected class XtextReconciler.TextInputListener
extends java.lang.Object
implements org.eclipse.jface.text.ITextInputListener

Reconciles the entire document when the document in the viewer is changed. This happens when the document is initially opened, as well as after a save-as.


Constructor Summary
protected XtextReconciler.TextInputListener()
           
 
Method Summary
 void inputDocumentAboutToBeChanged(org.eclipse.jface.text.IDocument oldInput, org.eclipse.jface.text.IDocument newInput)
          Called before the input document is replaced.
 void inputDocumentChanged(org.eclipse.jface.text.IDocument oldInput, org.eclipse.jface.text.IDocument newInput)
          Called after the input document has been replaced.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtextReconciler.TextInputListener

protected XtextReconciler.TextInputListener()
Method Detail

inputDocumentAboutToBeChanged

public void inputDocumentAboutToBeChanged(org.eclipse.jface.text.IDocument oldInput,
                                          org.eclipse.jface.text.IDocument newInput)
Description copied from interface: org.eclipse.jface.text.ITextInputListener
Called before the input document is replaced.

Specified by:
inputDocumentAboutToBeChanged in interface org.eclipse.jface.text.ITextInputListener
Parameters:
oldInput - the text viewer's previous input document
newInput - the text viewer's new input document

inputDocumentChanged

public void inputDocumentChanged(org.eclipse.jface.text.IDocument oldInput,
                                 org.eclipse.jface.text.IDocument newInput)
Description copied from interface: org.eclipse.jface.text.ITextInputListener
Called after the input document has been replaced.

Specified by:
inputDocumentChanged in interface org.eclipse.jface.text.ITextInputListener
Parameters:
oldInput - the text viewer's previous input document
newInput - the text viewer's new input document