protected class TextViewer.WidgetCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
DocumentEvent |
event
The document event encapsulated by this command.
|
int |
length
The length of the event.
|
String |
preservedText
The replaced text segments of
event. |
int |
start
The start of the event.
|
String |
text
The inserted and replaced text segments of
event. |
| Modifier | Constructor and Description |
|---|---|
protected |
TextViewer.WidgetCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEvent(DocumentEvent e)
Translates a document event into the presentation coordinates of this text viewer.
|
public DocumentEvent event
public int start
public int length
public String text
event.public String preservedText
event.public void setEvent(DocumentEvent e)
e - the event to be translatedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.