Eclipse Platform
2.0

org.eclipse.jface.text
Class TextViewer.WidgetCommand

java.lang.Object
  |
  +--org.eclipse.jface.text.TextViewer.WidgetCommand
Enclosing class:
TextViewer

protected class TextViewer.WidgetCommand
extends Object

Represents a replace command that brings the text viewer's text widget back in sync with text viewer's document after the document has been changed.


Field Summary
 DocumentEvent event
           
 int length
           
 String preservedText
           
 int start
           
 String text
           
 
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

event

public DocumentEvent event

start

public int start

length

public int length

text

public String text

preservedText

public String preservedText
Constructor Detail

TextViewer.WidgetCommand

protected TextViewer.WidgetCommand()
Method Detail

setEvent

public void setEvent(DocumentEvent e)
Translates a document event into the presentation coordinates of this text viewer.

Parameters:
e - the event to be translated

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.