1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / core / IBufferChangedListener.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.core;
12
13 /**
14  * A listener, which gets notified when the contents of a specific buffer have
15  * changed, or when the buffer is closed. When a buffer is closed, the listener
16  * is notified <em>after</em> the buffer has been closed. A listener is not
17  * 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
28          *            the change event
29          */
30         public void bufferChanged(BufferChangedEvent event);
31 }