|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.source.AnnotationModel
org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel
org.eclipse.emf.codegen.jet.editor.dyncheck.JETAnnotationModel
public class JETAnnotationModel
A ResourceMarkerAnnotationModel where we can turn on/off the notifications of changes.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.text.source.AnnotationModel |
---|
fAnnotationModelListeners, fAnnotations, fDocument |
Constructor Summary | |
---|---|
JETAnnotationModel(org.eclipse.core.resources.IResource resource)
|
Method Summary | |
---|---|
void |
addAnnotation(org.eclipse.jface.text.source.Annotation annotation,
org.eclipse.jface.text.Position position)
|
protected org.eclipse.ui.texteditor.MarkerAnnotation |
createMarkerAnnotation(org.eclipse.core.resources.IMarker marker)
Method createMarkerAnnotation. |
void |
fireAnnotationModelChanged()
|
boolean |
isFireChanges()
|
void |
removeAllAnnotations()
|
void |
removeAnnotation(org.eclipse.jface.text.source.Annotation annotation)
|
void |
setFireChanges(boolean b)
|
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, connected, createPositionFromMarker, disconnected, getMarkerAnnotation, getMarkerPosition, handleCoreException, modifyMarkerAnnotation, reinitialize, removeAnnotations, removeMarkerAnnotation, removeMarkerUpdater, resetMarkers, revert, updateMarker, updateMarker, updateMarkers |
Methods inherited from class org.eclipse.jface.text.source.AnnotationModel |
---|
addAnnotation, addAnnotationModel, addAnnotationModelListener, addPosition, cleanup, connect, createAnnotationModelEvent, disconnect, fireModelChanged, fireModelChanged, getAnnotationIterator, getAnnotationIterator, getAnnotationMap, getAnnotationModel, getAnnotationModelEvent, getLockObject, getModificationStamp, getPosition, modifyAnnotation, modifyAnnotationPosition, modifyAnnotationPosition, removeAllAnnotations, 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 JETAnnotationModel(org.eclipse.core.resources.IResource resource)
resource
- Method Detail |
---|
public boolean isFireChanges()
public void setFireChanges(boolean b)
b
- public void addAnnotation(org.eclipse.jface.text.source.Annotation annotation, org.eclipse.jface.text.Position position)
addAnnotation
in interface org.eclipse.jface.text.source.IAnnotationModel
addAnnotation
in class org.eclipse.jface.text.source.AnnotationModel
public void removeAllAnnotations()
removeAllAnnotations
in interface org.eclipse.jface.text.source.IAnnotationModelExtension
removeAllAnnotations
in class org.eclipse.jface.text.source.AnnotationModel
public void removeAnnotation(org.eclipse.jface.text.source.Annotation annotation)
removeAnnotation
in interface org.eclipse.jface.text.source.IAnnotationModel
removeAnnotation
in class org.eclipse.jface.text.source.AnnotationModel
public void fireAnnotationModelChanged()
protected org.eclipse.ui.texteditor.MarkerAnnotation createMarkerAnnotation(org.eclipse.core.resources.IMarker marker)
createMarkerAnnotation
in class org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel
marker
- IMarker
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |