|
org.eclipse.jface.text
Class SlaveDocumentEvent
java.lang.Object
org.eclipse.jface.text.DocumentEvent
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.
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
getMasterEvent
public
DocumentEvent getMasterEvent()
- Returns this event's master event.
-
-
Returns:
- this event's master event
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|