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