| org.eclipse.ui.texteditor.SimpleMarkerAnnotation
All known Subclasses: org.eclipse.ui.texteditor.MarkerAnnotation,
SimpleMarkerAnnotation | public class SimpleMarkerAnnotation extends Annotation (Code) | | An annotation representing a marker. This is a model annotation.
See Also: IMarker since: 3.0 |
Method Summary | |
public boolean | equals(Object o) The SimpleMarkerAnnotation implementation of this
Object method returns true iff the other
object is of the same class and the marker handles are equal. | public IMarker | getMarker() Returns this annotation's underlying marker. | public String | getText() | public int | hashCode() | public void | update() Informs this annotation about changes applied to its underlying marker
and adapts to those changes. |
SimpleMarkerAnnotation | public SimpleMarkerAnnotation(IMarker marker)(Code) | | Creates a new annotation for the given marker.
See Also: IMarker Parameters: marker - the marker |
SimpleMarkerAnnotation | public SimpleMarkerAnnotation(String annotationType, IMarker marker)(Code) | | Creates a new annotation of the given type for the given marker.
Parameters: annotationType - the annotation type Parameters: marker - the marker |
equals | public boolean equals(Object o)(Code) | | The SimpleMarkerAnnotation implementation of this
Object method returns true iff the other
object is of the same class and the marker handles are equal.
See Also: Object.equals(java.lang.Object) |
getMarker | public IMarker getMarker()(Code) | | Returns this annotation's underlying marker.
the marker |
hashCode | public int hashCode()(Code) | | |
update | public void update()(Code) | | Informs this annotation about changes applied to its underlying marker
and adapts to those changes.
Subclasses may extend this method.
|
|
|