78
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2005, 2008 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 module org.eclipse.core.databinding.observable.value.IVetoableValue;
|
81
|
12 import org.eclipse.core.databinding.observable.value.IObservableValue;
|
|
13 import org.eclipse.core.databinding.observable.value.IValueChangingListener;
|
78
|
14
|
|
15 import java.lang.all;
|
|
16
|
|
17 /**
|
|
18 * An observable value whose changes can be vetoed by listeners.
|
|
19 *
|
|
20 * @noextend This interface is not intended to be extended by clients.
|
|
21 * @noimplement This interface is not intended to be implemented by clients.
|
|
22 * Clients should instead subclass one of the classes that
|
|
23 * implement this interface. Note that direct implementers of this
|
|
24 * interface outside of the framework will be broken in future
|
|
25 * releases when methods are added to this interface.
|
|
26 *
|
|
27 * @since 1.0
|
|
28 *
|
|
29 */
|
|
30 public interface IVetoableValue : IObservableValue {
|
|
31
|
|
32 /**
|
|
33 * @param listener
|
|
34 */
|
|
35 public void addValueChangingListener(IValueChangingListener listener);
|
|
36
|
|
37 /**
|
|
38 * @param listener
|
|
39 */
|
|
40 public void removeValueChangingListener(IValueChangingListener listener);
|
|
41
|
|
42 }
|