public interface IXtextDocumentContentObserver
extends org.eclipse.jface.text.IDocumentListener
Modifier and Type | Interface and Description |
---|---|
static interface |
IXtextDocumentContentObserver.Processor
Releases all read locks on the document held by the current thread, acquires a write lock
and executes the
IUnitOfWork in it. |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPendingUpdates() |
boolean |
performNecessaryUpdates(IXtextDocumentContentObserver.Processor processor)
Called by the document before 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 |
boolean performNecessaryUpdates(IXtextDocumentContentObserver.Processor processor)
IReadAccess.readOnly(IUnitOfWork)
or IWriteAccess.modify(IUnitOfWork)
Implementers get the chance to do any work using the passed IXtextDocumentContentObserver.Processor
processor
- boolean hasPendingUpdates()