public final class BasicMarkerUpdater extends Object implements IMarkerUpdater
| Constructor and Description |
|---|
BasicMarkerUpdater()
Creates a new basic marker updater.
|
| 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.
|
public BasicMarkerUpdater()
public String[] getAttribute()
IMarkerUpdaternull, the updater assumes responsibility for
any attributes.getAttribute in interface IMarkerUpdaternull for any attributepublic String getMarkerType()
IMarkerUpdaternull, the updater assumes responsibility
for any marker type.getMarkerType in interface IMarkerUpdaternull for any marker typepublic boolean updateMarker(IMarker marker, IDocument document, Position position)
IMarkerUpdaternull, the marker is assumed to
carry the correct positional information.updateMarker in interface IMarkerUpdatermarker - 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 deletedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.