KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > databinding > observable > IChangeListener


1 /*******************************************************************************
2  * Copyright (c) 2006, 2007 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
12 package org.eclipse.core.databinding.observable;
13
14 import org.eclipse.core.databinding.observable.list.IListChangeListener;
15 import org.eclipse.core.databinding.observable.map.IMapChangeListener;
16 import org.eclipse.core.databinding.observable.set.ISetChangeListener;
17 import org.eclipse.core.databinding.observable.value.IValueChangeListener;
18
19 /**
20  * Listener for generic change events. Note that the change events do not carry
21  * information about the change, they only specify the affected observable. To
22  * listen for specific change events, use more specific change listeners.
23  *
24  * @see IValueChangeListener
25  * @see IListChangeListener
26  * @see ISetChangeListener
27  * @see IMapChangeListener
28  *
29  * @since 1.0
30  */

31 public interface IChangeListener extends IObservablesListener {
32
33     /**
34      * Handle a generic change to the given observable. The given event object
35      * must only be used locally in this method because it may be reused for
36      * other change notifications.
37      *
38      * @param event
39      */

40     public void handleChange(ChangeEvent event);
41
42 }
43
Popular Tags