public interface IMarkerUpdater
AbstractMarkerAnnotationModel
.Modifier and Type | Method and Description |
---|---|
String[] |
getAttribute()
Returns the attributes for which this updater is responsible.
|
String |
getMarkerType()
Returns the marker type for which this updater is responsible.
|
boolean |
updateMarker(IMarker marker,
IDocument document,
Position position)
Updates the given marker according to the position of the given document.
|
String getMarkerType()
null
, the updater assumes responsibility
for any marker type.null
for any marker typeString[] getAttribute()
null
, the updater assumes responsibility for
any attributes.null
for any attributeboolean updateMarker(IMarker marker, IDocument document, Position position)
null
, the marker is assumed to
carry the correct positional information.marker
- the marker to be updateddocument
- the document into which the given position pointsposition
- the current position of the marker inside the given documentfalse
if the updater recognizes that the marker should be deleted
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.