|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.texteditor.BasicMarkerUpdater
public final class BasicMarkerUpdater
Updates a marker's positional attributes which are start position, end position, and line number.
| Constructor Summary | |
|---|---|
BasicMarkerUpdater()
Creates a new basic marker updater. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicMarkerUpdater()
| Method Detail |
|---|
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 type
public 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 document
false if the updater recognizes that the marker should be deleted
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.