Eclipse Platform
2.0

org.eclipse.jface.text
Class DocumentCommand

java.lang.Object
  |
  +--org.eclipse.jface.text.DocumentCommand

public final class DocumentCommand
extends Object

Represents a text modification as a document replace command. The text modification is given as a VerifyEvent and translated into a document replace command relative to a given offset. A document command can also be used to initialize a given VerifyEvent.


Field Summary
 boolean doit
          Must the command be updated
 int length
          The length of the command
 int offset
          The offset of the command
 String text
          The text to be inserted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doit

public boolean doit
Must the command be updated


offset

public int offset
The offset of the command


length

public int length
The length of the command


text

public String text
The text to be inserted


Eclipse Platform
2.0

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