KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > provisional > factories > IObservableFactory


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.jface.internal.databinding.provisional.factories;
12
13 import org.eclipse.jface.internal.databinding.provisional.observable.IObservable;
14
15 /**
16  * A factory for creating observable objects from description objects.
17  * <p>
18  * <strong>EXPERIMENTAL</strong>. This class or interface has been added as
19  * part of a work in progress. There is no guarantee that this API will remain
20  * unchanged during the 3.2 release cycle. Please do not use this API without
21  * consulting with the Platform/UI team.
22  * </p>
23  *
24  * @since 1.0
25  *
26  */

27 public interface IObservableFactory {
28
29     /**
30      * Returns an observable for the given description, or null if this factory
31      * cannot create observables for this description. The BindingException is
32      * only thrown in error cases, e.g. if the description itself is invalid, or
33      * if an error occurred during the creation of the observable.
34      * @param description
35      *
36      * @return an updatable
37      */

38     IObservable createObservable(Object JavaDoc description);
39 }
40
Popular Tags