public class DocumentRewriteSessionEvent
extends java.lang.Object
IDocument,
IDocumentExtension4,
IDocumentRewriteSessionListener| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
fChangeType
The change type
|
IDocument |
fDocument
The changed document
|
DocumentRewriteSession |
fSession
The session
|
static java.lang.Object |
SESSION_START |
static java.lang.Object |
SESSION_STOP |
| Constructor and Description |
|---|
DocumentRewriteSessionEvent(IDocument doc,
DocumentRewriteSession session,
java.lang.Object changeType)
Creates a new document event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getChangeType()
Returns the change type of this event.
|
IDocument |
getDocument()
Returns the changed document.
|
DocumentRewriteSession |
getSession()
Returns the rewrite session.
|
public static final java.lang.Object SESSION_START
public static final java.lang.Object SESSION_STOP
public IDocument fDocument
public DocumentRewriteSession fSession
public java.lang.Object fChangeType
public DocumentRewriteSessionEvent(IDocument doc, DocumentRewriteSession session, java.lang.Object changeType)
doc - the changed documentsession - the sessionchangeType - the change type. This is either
SESSION_START or
SESSION_STOP.public IDocument getDocument()
public java.lang.Object getChangeType()
SESSION_STARTor
SESSION_STOP.public DocumentRewriteSession getSession()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.