KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > databinding > observable > value > IVetoableValue


1 /*******************************************************************************
2  * Copyright (c) 2005, 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.core.databinding.observable.value;
12
13 /**
14  * An observable value whose changes can be vetoed by listeners.
15  *
16  * <p>
17  * This interface is not intended to be implemented by clients. Clients should
18  * instead subclass one of the classes that implement this interface. Note that
19  * direct implementers of this interface outside of the framework will be broken
20  * in future releases when methods are added to this interface.
21  * </p>
22  *
23  * @since 1.0
24  *
25  */

26 public interface IVetoableValue extends IObservableValue {
27     
28     /**
29      * @param listener
30      */

31     public void addValueChangingListener(IValueChangingListener listener);
32     
33     /**
34      * @param listener
35      */

36     public void removeValueChangingListener(IValueChangingListener listener);
37
38 }
39
Popular Tags