org.eclipse.xtext.ui.editor
Class XtextEditorErrorTickUpdater
java.lang.Object
org.eclipse.xtext.ui.editor.IXtextEditorCallback.NullImpl
org.eclipse.xtext.ui.editor.XtextEditorErrorTickUpdater
- All Implemented Interfaces:
- org.eclipse.jface.text.source.IAnnotationModelListener, IXtextEditorCallback
public class XtextEditorErrorTickUpdater
- extends IXtextEditorCallback.NullImpl
- implements org.eclipse.jface.text.source.IAnnotationModelListener
- Author:
- Michael Clay - Initial contribution and API, Sven Efftinge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XtextEditorErrorTickUpdater
public XtextEditorErrorTickUpdater()
beforeDispose
public void beforeDispose(XtextEditor xtextEditor)
- Specified by:
beforeDispose
in interface IXtextEditorCallback
- Overrides:
beforeDispose
in class IXtextEditorCallback.NullImpl
afterSetInput
public void afterSetInput(XtextEditor xtextEditor)
- Specified by:
afterSetInput
in interface IXtextEditorCallback
- Overrides:
afterSetInput
in class IXtextEditorCallback.NullImpl
afterCreatePartControl
public void afterCreatePartControl(XtextEditor xtextEditor)
- Specified by:
afterCreatePartControl
in interface IXtextEditorCallback
- Overrides:
afterCreatePartControl
in class IXtextEditorCallback.NullImpl
unregisterListener
protected void unregisterListener()
updateImageAndRegisterListener
protected void updateImageAndRegisterListener()
updateEditorImage
protected void updateEditorImage(XtextEditor xtextEditor)
getSeverity
protected Severity getSeverity(XtextEditor xtextEditor)
scheduleUpdateEditorJob
public void scheduleUpdateEditorJob(org.eclipse.swt.graphics.Image image)
createUpdateEditorImageJob
protected XtextEditorErrorTickUpdater.UpdateEditorImageJob createUpdateEditorImageJob()
modelChanged
public void modelChanged(org.eclipse.jface.text.source.IAnnotationModel model)
- Specified by:
modelChanged
in interface org.eclipse.jface.text.source.IAnnotationModelListener