KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > provisional > observable > IChangeListener


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

31 public interface IChangeListener {
32     
33     /**
34      * Handle a generic change to the given observable.
35      *
36      * @param source
37      */

38     public void handleChange(IObservable source);
39
40 }
41
Popular Tags