| Constructor and Description |
|---|
DefaultTextEdit(int offset,
String oldValue,
String newValue)
Creates a new
DefaultTextEdit. |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the text to replace with the new value.
|
String |
getNewValue()
Returns the new value that should replace the old value.
|
int |
getOffset()
Returns the location of the old value within the text.
|
String |
getOldValue()
Returns the value that was found within the text that should be replaced by the new value.
|
String |
toString() |
public DefaultTextEdit(int offset,
String oldValue,
String newValue)
DefaultTextEdit.offset - The location of the old value within the textoldValue - the value that was found within the text that should be replaced by the new valuenewValue - The new value that should replace the old valuepublic int getLength()
public String getNewValue()
getNewValue in interface TextEditpublic int getOffset()
public String getOldValue()
getOldValue in interface TextEditCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.