public class SlaveDocumentEvent extends DocumentEvent
fDocument, fLength, fModificationStamp, fOffset, fText
Constructor and Description |
---|
SlaveDocumentEvent(IDocument doc,
int offset,
int length,
String text,
DocumentEvent masterEvent)
Creates a new slave document event.
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent |
getMasterEvent()
Returns this event's master event.
|
getDocument, getLength, getModificationStamp, getOffset, getText, toString
public SlaveDocumentEvent(IDocument doc, int offset, int length, String text, DocumentEvent masterEvent)
doc
- the slave documentoffset
- the offset in the slave documentlength
- the length in the slave documenttext
- the substitution textmasterEvent
- the master document eventpublic DocumentEvent getMasterEvent()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.