|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.DocumentEvent
public class DocumentEvent
Specification of changes applied to documents. The event contains the changed document.
IDocument
Field Summary | |
---|---|
static int |
CONTENT_MODIFIED
|
static int |
CONTENT_REPLACED
|
IDocument |
fDocument
The changed document |
java.lang.Object |
fEventInfo
|
int |
fEventKind
|
protected long |
fModificationStamp
The modification stamp of the document when firing this event. |
Constructor Summary | |
---|---|
DocumentEvent()
Creates a new, not initialized document event. |
|
DocumentEvent(IDocument doc,
int eventKind,
java.lang.Object eventInfo)
Creates a new document event. |
Method Summary | |
---|---|
IDocument |
getDocument()
Returns the changed document. |
java.lang.Object |
getEventInfo()
|
int |
getEventKind()
|
long |
getModificationStamp()
Returns the document's modification stamp at the time when this event was sent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public IDocument fDocument
public int fEventKind
public java.lang.Object fEventInfo
protected long fModificationStamp
public static final int CONTENT_REPLACED
public static final int CONTENT_MODIFIED
Constructor Detail |
---|
public DocumentEvent(IDocument doc, int eventKind, java.lang.Object eventInfo)
doc
- the changed documentpublic DocumentEvent()
Method Detail |
---|
public IDocument getDocument()
public long getModificationStamp()
IDocument.UNKNOWN_MODIFICATION_STAMP
.public int getEventKind()
public java.lang.Object getEventInfo()
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.