|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.link.InclusivePositionUpdater
Position updater that takes any change in
[position.offset, position.offset + position.length]
as
belonging to the position.
Internal class. Do not use. Public for testing purposes only.
Constructor Summary | |
---|---|
InclusivePositionUpdater(String category)
Creates a new updater for the given category . |
Method Summary | |
---|---|
String |
getCategory()
Returns the position category. |
void |
update(DocumentEvent event)
Adapts positions to the change specified by the document event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InclusivePositionUpdater(String category)
category
.
category
- the new category.Method Detail |
public void update(DocumentEvent event)
IPositionUpdater
update
in interface IPositionUpdater
event
- the document event describing the document changepublic String getCategory()
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.