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 SlaveDocumentEvent


java.lang.Object
  extended by 

org.eclipse.jface.text.DocumentEvent
      extended by 
org.eclipse.jface.text.SlaveDocumentEvent
Direct Known Subclasses:
ProjectionDocumentEvent

public class SlaveDocumentEvent
extends DocumentEvent

A slave document event represents a master document event as a slave-relative document event. It also carries the master document event.


Field Summary
 
Fields inherited from class org.eclipse.jface.text. DocumentEvent
fDocument, fLength, fModificationStamp, fOffset, fText
 
Constructor Summary
SlaveDocumentEvent ( IDocument doc, int offset, int length, String text, DocumentEvent masterEvent)
          Creates a new slave document event.
 
Method Summary
  DocumentEvent getMasterEvent ()
          Returns this event's master event.
 
Methods inherited from class org.eclipse.jface.text. DocumentEvent
getDocument, getLength, getModificationStamp, getOffset, getText, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlaveDocumentEvent

public SlaveDocumentEvent(
IDocument doc,
                          int offset,
                          int length,
                          
String text,
                          
DocumentEvent masterEvent)
Creates a new slave document event.

Parameters:
doc - the slave document
offset - the offset in the slave document
length - the length in the slave document
text - the substitution text
masterEvent - the master document event
Method Detail

getMasterEvent

public 
DocumentEvent getMasterEvent()
Returns this event's master event.

Returns:
this event's master event

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