|
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.reconciler.DirtyRegion
public class DirtyRegion
A dirty region describes a document range which has been changed.
Field Summary | |
---|---|
static java.lang.String |
INSERT
Identifies an insert operation. |
static java.lang.String |
REMOVE
Identifies a remove operation. |
Constructor Summary | |
---|---|
DirtyRegion(int offset,
int length,
java.lang.String type,
java.lang.String text)
Creates a new dirty region. |
Method Summary | |
---|---|
int |
getLength()
Returns the length of the region. |
int |
getOffset()
Returns the offset of the region. |
java.lang.String |
getText()
Returns the text that changed as part of the region change. |
java.lang.String |
getType()
Returns the content type of the region. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INSERT
public static final java.lang.String REMOVE
Constructor Detail |
---|
public DirtyRegion(int offset, int length, java.lang.String type, java.lang.String text)
offset
- the offset within the document where the change occurredlength
- the length of the text within the document that changedtype
- the type of change that this region represents: INSERT
REMOVE
text
- the substitution textMethod Detail |
---|
public int getOffset()
IRegion
getOffset
in interface IRegion
public int getLength()
IRegion
getLength
in interface IRegion
public java.lang.String getType()
ITypedRegion
getType
in interface ITypedRegion
public java.lang.String getText()
|
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.