comparison org.eclipse.core.databinding/src/org/eclipse/core/databinding/observable/IObservableCollection.d @ 78:0a55d2d5a946

Added file for databinding
author Frank Benoit <benoit@tionex.de>
date Tue, 14 Apr 2009 11:35:29 +0200
parents
children 383ce7bd736b
comparison
equal deleted inserted replaced
76:f05e6e8b2f2d 78:0a55d2d5a946
1 /*******************************************************************************
2 * Copyright (c) 2006, 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
12 module org.eclipse.core.databinding.observable.IObservableCollection;
13
14 import java.lang.all;
15
16 import java.util.Collection;
17
18 import org.eclipse.core.databinding.observable.list.IObservableList;
19 import org.eclipse.core.databinding.observable.set.IObservableSet;
20
21 /**
22 * Interface for observable collections. Only general change listeners can be
23 * added to an observable collection. Listeners interested in incremental
24 * changes have to be added using more concrete subtypes such as
25 * {@link IObservableList} or {@link IObservableSet}.
26 *
27 * @noextend This interface is not intended to be extended by clients.
28 * @noimplement This interface is not intended to be implemented by clients.
29 * Clients should instead subclass one of the classes that
30 * implement this interface. Note that direct implementers of this
31 * interface outside of the framework will be broken in future
32 * releases when methods are added to this interface.
33 * </p>
34 *
35 * @since 1.0
36 */
37 public interface IObservableCollection : IObservable, Collection {
38
39 /**
40 * @return the element type of this observable value, or <code>null</code>
41 * if this observable collection is untyped.
42 */
43 Object getElementType();
44
45 }