1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.jface.text; 12 13 14 /** 15 * Interface for objects which are interested in getting informed about document 16 * rewrite sessions. 17 * <p> 18 * Clients may implement this interface. 19 * </p> 20 * 21 * @see org.eclipse.jface.text.IDocument 22 * @see org.eclipse.jface.text.IDocumentExtension4 23 * @since 3.1 24 */ 25 public interface IDocumentRewriteSessionListener { 26 27 /** 28 * Signals a change in a document's rewrite session state. 29 * 30 * @param event the event describing the document rewrite session state change 31 */ 32 void documentRewriteSessionChanged(DocumentRewriteSessionEvent event); 33 } 34