KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > provisional > IBindingListener


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;
13
14 import org.eclipse.jface.internal.databinding.provisional.validation.ValidationError;
15
16 /**
17  * An interface for objects that need to listen to events that occur in the
18  * data flow pipeline
19  *
20  * @since 1.0
21  */

22 public interface IBindingListener {
23     /**
24      * Method bindingEvent. The method that is called when something interesting
25      * occurs in the data flow pipeline.
26      *
27      * @param e The IBindingEvent to handle.
28      * @return null if no error or a ValidationError with an error status to
29      * abort the operation. The error will be propagated to the data binding
30      * context's error message updatable.
31      */

32     public ValidationError bindingEvent(BindingEvent e);
33     
34 }
35
Popular Tags