org.eclipse.xtext.ui.editor.model
Interface IXtextDocumentContentObserver

All Superinterfaces:
org.eclipse.jface.text.IDocumentListener
All Known Implementing Classes:
XtextReconciler.DocumentListener

public interface IXtextDocumentContentObserver
extends org.eclipse.jface.text.IDocumentListener

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
static interface IXtextDocumentContentObserver.Processor
           
 
Method Summary
 void performNecessaryUpdates(IXtextDocumentContentObserver.Processor processor)
          Called by the document before when any client requests access to an IXtextDocument's state via IReadAccess.readOnly(IUnitOfWork) or IWriteAccess.modify(IUnitOfWork) Implementers get the chance to do any work using the passed IXtextDocumentContentObserver.Processor
 
Methods inherited from interface org.eclipse.jface.text.IDocumentListener
documentAboutToBeChanged, documentChanged
 

Method Detail

performNecessaryUpdates

void performNecessaryUpdates(IXtextDocumentContentObserver.Processor processor)
Called by the document before when any client requests access to an IXtextDocument's state via IReadAccess.readOnly(IUnitOfWork) or IWriteAccess.modify(IUnitOfWork) Implementers get the chance to do any work using the passed IXtextDocumentContentObserver.Processor

Parameters:
processor -