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