|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.link.InclusivePositionUpdater
public class InclusivePositionUpdater
Position updater that considers any change in
[p.offset, p.offset + p.length] of a Position
p 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 IPositionUpdaterevent - the document event describing the document changepublic String getCategory()
|
Eclipse Platform Release 3.2 |
|||||||||
| 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, 2006. All rights reserved.