|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.DocumentListener
protected class XtextReconciler.DocumentListener
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.model.IXtextDocumentContentObserver |
---|
IXtextDocumentContentObserver.Processor |
Constructor Summary | |
---|---|
protected |
XtextReconciler.DocumentListener()
|
Method Summary | |
---|---|
void |
assistSessionEnded(org.eclipse.jface.text.contentassist.ContentAssistEvent event)
Called when a code assist session ends (for example, the proposal popup is closed). |
void |
assistSessionStarted(org.eclipse.jface.text.contentassist.ContentAssistEvent event)
Called when code assist is invoked when there is no current code assist session. |
void |
documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent event)
The manipulation described by the document event will be performed. |
void |
documentChanged(org.eclipse.jface.text.DocumentEvent event)
The manipulation described by the document event has been performed. |
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 |
void |
selectionChanged(org.eclipse.jface.text.contentassist.ICompletionProposal proposal,
boolean smartToggle)
Called when the selection in the proposal popup is changed or if the insert-mode changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XtextReconciler.DocumentListener()
Method Detail |
---|
public void documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent event)
org.eclipse.jface.text.IDocumentListener
documentAboutToBeChanged
in interface org.eclipse.jface.text.IDocumentListener
event
- the document event describing the document changepublic void documentChanged(org.eclipse.jface.text.DocumentEvent event)
org.eclipse.jface.text.IDocumentListener
documentChanged
in interface org.eclipse.jface.text.IDocumentListener
event
- the document event describing the document changepublic void performNecessaryUpdates(IXtextDocumentContentObserver.Processor processor)
IXtextDocumentContentObserver
IReadAccess.readOnly(IUnitOfWork)
or IWriteAccess.modify(IUnitOfWork)
Implementers get the chance to do any work using the passed IXtextDocumentContentObserver.Processor
performNecessaryUpdates
in interface IXtextDocumentContentObserver
public void assistSessionStarted(org.eclipse.jface.text.contentassist.ContentAssistEvent event)
org.eclipse.jface.text.contentassist.ICompletionListener
assistSessionStarted
in interface org.eclipse.jface.text.contentassist.ICompletionListener
event
- the content assist eventpublic void assistSessionEnded(org.eclipse.jface.text.contentassist.ContentAssistEvent event)
org.eclipse.jface.text.contentassist.ICompletionListener
assistSessionEnded
in interface org.eclipse.jface.text.contentassist.ICompletionListener
event
- the content assist eventpublic void selectionChanged(org.eclipse.jface.text.contentassist.ICompletionProposal proposal, boolean smartToggle)
org.eclipse.jface.text.contentassist.ICompletionListener
selectionChanged
in interface org.eclipse.jface.text.contentassist.ICompletionListener
proposal
- the newly selected proposal, possibly null
smartToggle
- true
if the insert-mode toggle is being pressed,
false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |