1 11 package org.eclipse.jface.text; 12 13 import org.eclipse.core.runtime.Assert; 14 15 16 24 public class DocumentRewriteSessionEvent { 25 26 public final static Object SESSION_START= new Object (); 27 public final static Object SESSION_STOP= new Object (); 28 29 30 public IDocument fDocument; 31 32 public DocumentRewriteSession fSession; 33 34 public Object fChangeType; 35 36 45 public DocumentRewriteSessionEvent(IDocument doc, DocumentRewriteSession session, Object changeType) { 46 Assert.isNotNull(doc); 47 Assert.isNotNull(session); 48 49 fDocument= doc; 50 fSession= session; 51 fChangeType= changeType; 52 } 53 54 59 public IDocument getDocument() { 60 return fDocument; 61 } 62 63 70 public Object getChangeType() { 71 return fChangeType; 72 } 73 74 79 public DocumentRewriteSession getSession() { 80 return fSession; 81 } 82 } 83 | Popular Tags |