Package org.eclipse.jface.text
Class DocumentRewriteSessionEvent
java.lang.Object
org.eclipse.jface.text.DocumentRewriteSessionEvent
Description of the state of document rewrite sessions.
- Since:
- 3.1
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionDocumentRewriteSessionEvent(IDocument doc, DocumentRewriteSession session, Object changeType) Creates a new document event.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the change type of this event.Returns the changed document.Returns the rewrite session.
- 
Field Details- 
SESSION_START
- 
SESSION_STOP
- 
fDocumentThe changed document
- 
fSessionThe session
- 
fChangeTypeThe change type
 
- 
- 
Constructor Details- 
DocumentRewriteSessionEventpublic DocumentRewriteSessionEvent(IDocument doc, DocumentRewriteSession session, Object changeType) Creates a new document event.- Parameters:
- doc- the changed document
- session- the session
- changeType- the change type. This is either- SESSION_STARTor- SESSION_STOP.
 
 
- 
- 
Method Details- 
getDocumentReturns the changed document.- Returns:
- the changed document
 
- 
getChangeTypeReturns the change type of this event. This is eitherSESSION_STARTorSESSION_STOP.- Returns:
- the change type of this event
 
- 
getSessionReturns the rewrite session.- Returns:
- the rewrite session
 
 
-