|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.text.TextViewer.WidgetCommand
Represents a replace command that brings the text viewer's text widget back in synchronization with text viewer's document after the document has been changed.
| Field Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
TextViewer.WidgetCommand()
|
| Method Summary | |
|---|---|
void |
setEvent(DocumentEvent e)
Translates a document event into the presentation coordinates of this text viewer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public DocumentEvent event
public int start
public int length
public String text
event.
public String preservedText
event.
| Constructor Detail |
protected TextViewer.WidgetCommand()
| Method Detail |
public void setEvent(DocumentEvent e)
e - the event to be translated
|
Eclipse Platform Release 3.3 |
|||||||||||
| 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, 2007. All rights reserved.