1 /*******************************************************************************
2 * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v0.5
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v05.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.core;
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.
19 * This interface may be implemented by clients.
22 public interface IBufferChangedListener {
25 * Notifies that the given event has occurred.
27 * @param event the change event
29 public void bufferChanged(BufferChangedEvent event);