|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.text.source.AnnotationModel org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel org.eclipse.xtext.ui.editor.quickfix.XtextResourceMarkerAnnotationModel
public class XtextResourceMarkerAnnotationModel
Field Summary |
---|
Fields inherited from class org.eclipse.jface.text.source.AnnotationModel |
---|
fAnnotationModelListeners, fAnnotations, fDocument |
Constructor Summary | |
---|---|
XtextResourceMarkerAnnotationModel(org.eclipse.core.resources.IFile file,
IssueResolutionProvider issueResolutionProvider,
IssueUtil markerUtil)
|
Method Summary | |
---|---|
protected void |
connected()
Connects to the source of markers as marker change listener. |
protected org.eclipse.ui.texteditor.MarkerAnnotation |
createMarkerAnnotation(org.eclipse.core.resources.IMarker marker)
Creates a new annotation for the given marker. |
void |
fireAnnotationChangedEvent(org.eclipse.jface.text.source.Annotation annotation)
|
void |
fireQueuedEvents()
|
void |
queueAnnotationChanged(org.eclipse.jface.text.source.Annotation annotation)
|
void |
updateMarkers(org.eclipse.jface.text.IDocument document)
Updates the markers managed by this annotation model by calling all registered marker updaters ( IMarkerUpdater ). |
Methods inherited from class org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel |
---|
deleteMarkers, getResource, isAcceptable, listenToMarkerChanges, retrieveMarkers, update |
Methods inherited from class org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel |
---|
addMarkerAnnotation, addMarkerUpdater, commit, createPositionFromMarker, disconnected, getMarkerAnnotation, getMarkerPosition, handleCoreException, modifyMarkerAnnotation, reinitialize, removeAnnotations, removeMarkerAnnotation, removeMarkerUpdater, resetMarkers, revert, updateMarker, updateMarker |
Methods inherited from class org.eclipse.jface.text.source.AnnotationModel |
---|
addAnnotation, addAnnotation, addAnnotationModel, addAnnotationModelListener, addPosition, cleanup, connect, createAnnotationModelEvent, disconnect, fireModelChanged, fireModelChanged, getAnnotationIterator, getAnnotationIterator, getAnnotationIterator, getAnnotationMap, getAnnotationModel, getAnnotationModelEvent, getLockObject, getModificationStamp, getPosition, modifyAnnotation, modifyAnnotationPosition, modifyAnnotationPosition, removeAllAnnotations, removeAllAnnotations, removeAnnotation, removeAnnotation, removeAnnotationModel, removeAnnotationModelListener, removePosition, replaceAnnotations, replaceAnnotations, setLockObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtextResourceMarkerAnnotationModel(org.eclipse.core.resources.IFile file, IssueResolutionProvider issueResolutionProvider, IssueUtil markerUtil)
Method Detail |
---|
protected org.eclipse.ui.texteditor.MarkerAnnotation createMarkerAnnotation(org.eclipse.core.resources.IMarker marker)
org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
Subclasses may override.
createMarkerAnnotation
in class org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
marker
- the marker
public void fireAnnotationChangedEvent(org.eclipse.jface.text.source.Annotation annotation)
public void queueAnnotationChanged(org.eclipse.jface.text.source.Annotation annotation)
public void fireQueuedEvents()
protected void connected()
org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
connected
in class org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
AnnotationModel.connected()
public void updateMarkers(org.eclipse.jface.text.IDocument document) throws org.eclipse.core.runtime.CoreException
org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
IMarkerUpdater
).
updateMarkers
in class org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
document
- the document to which this model is currently connected
org.eclipse.core.runtime.CoreException
- if there is a problem updating the markers
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |