org.eclipse.xtext.ui.editor.reconciler
Class XtextReconciler.DocumentListener
java.lang.Object
org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.DocumentListener
- All Implemented Interfaces:
- org.eclipse.jface.text.contentassist.ICompletionListener, org.eclipse.jface.text.IDocumentListener, IXtextDocumentContentObserver
- Enclosing class:
- XtextReconciler
protected class XtextReconciler.DocumentListener
- extends java.lang.Object
- implements IXtextDocumentContentObserver, org.eclipse.jface.text.contentassist.ICompletionListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XtextReconciler.DocumentListener
protected XtextReconciler.DocumentListener()
documentAboutToBeChanged
public void documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentAboutToBeChanged
in interface org.eclipse.jface.text.IDocumentListener
documentChanged
public void documentChanged(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentChanged
in interface org.eclipse.jface.text.IDocumentListener
performNecessaryUpdates
public void performNecessaryUpdates(IXtextDocumentContentObserver.Processor processor)
- Description copied from interface:
IXtextDocumentContentObserver
- 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
- Specified by:
performNecessaryUpdates
in interface IXtextDocumentContentObserver
assistSessionStarted
public void assistSessionStarted(org.eclipse.jface.text.contentassist.ContentAssistEvent event)
- Specified by:
assistSessionStarted
in interface org.eclipse.jface.text.contentassist.ICompletionListener
assistSessionEnded
public void assistSessionEnded(org.eclipse.jface.text.contentassist.ContentAssistEvent event)
- Specified by:
assistSessionEnded
in interface org.eclipse.jface.text.contentassist.ICompletionListener
selectionChanged
public void selectionChanged(org.eclipse.jface.text.contentassist.ICompletionProposal proposal,
boolean smartToggle)
- Specified by:
selectionChanged
in interface org.eclipse.jface.text.contentassist.ICompletionListener