Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text
Class TextViewer.WidgetCommand


java.lang.Object
  extended by 
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 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

event

public 
DocumentEvent event
The document event encapsulated by this command.


start

public int start
The start of the event.


length

public int length
The length of the event.


text

public 
String text
The inserted and replaced text segments of event.


preservedText

public 
String preservedText
The replaced text segments of event.

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
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire