1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 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.jdt.core; 12 13 /** 14 * A listener, which gets notified when the contents of a specific buffer 15 * have changed, or when the buffer is closed. 16 * When a buffer is closed, the listener is notified <em>after</em> the buffer has been closed. 17 * A listener is not notified when a buffer is saved. 18 * <p> 19 * This interface may be implemented by clients. 20 * </p> 21 */ 22 public interface IBufferChangedListener { 23 24 /** 25 * Notifies that the given event has occurred. 26 * 27 * @param event the change event 28 */ 29 public void bufferChanged(BufferChangedEvent event); 30 } 31