Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text
Class DocumentRewriteSessionEvent

java.lang.Object
  extended by 
org.eclipse.jface.text.DocumentRewriteSessionEvent

public class DocumentRewriteSessionEvent
extends Object

Description of the state of document rewrite sessions.

Since:
3.1
See Also:
IDocument, IDocumentExtension4, IDocumentRewriteSessionListener

Field Summary
  Object fChangeType
          The change type
  IDocument fDocument
          The changed document
  DocumentRewriteSession fSession
          The session
static  Object SESSION_START
           
static  Object SESSION_STOP
           
 
Constructor Summary
DocumentRewriteSessionEvent ( IDocument doc, DocumentRewriteSession session, Object changeType)
          Creates a new document event.
 
Method Summary
  Object getChangeType ()
          Returns the change type of this event.
  IDocument getDocument ()
          Returns the changed document.
  DocumentRewriteSession getSession ()
          Returns the rewrite session.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_START

public static final 
Object SESSION_START

SESSION_STOP

public static final 
Object SESSION_STOP

fDocument

public 
IDocument fDocument
The changed document


fSession

public 
DocumentRewriteSession fSession
The session


fChangeType

public 
Object fChangeType
The change type

Constructor Detail

DocumentRewriteSessionEvent

public 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_START or SESSION_STOP.
Method Detail

getDocument

public 
IDocument getDocument()
Returns the changed document.

Returns:
the changed document

getChangeType

public 
Object getChangeType()
Returns the change type of this event. This is either SESSION_STARTor SESSION_STOP.

Returns:
the change type of this event

getSession

public 
DocumentRewriteSession getSession()
Returns the rewrite session.

Returns:
the rewrite session

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire