Eclipse Platform
Release 3.3

org.eclipse.core.databinding.observable
Interface IObservableCollection

All Superinterfaces:
Collection, IObservable
All Known Subinterfaces:
IObservableList, IObservableSet
All Known Implementing Classes:
AbstractObservableList, AbstractObservableSet, ObservableList, ObservableSet

public interface IObservableCollection
extends IObservable, Collection

Interface for observable collections. Only general change listeners can be added to an observable collection. Listeners interested in incremental changes have to be added using more concrete subtypes such as IObservableList or IObservableSet.

This interface is not intended to be implemented by clients. Clients should instead subclass one of the classes that implement this interface. Note that direct implementers of this interface outside of the framework will be broken in future releases when methods are added to this interface.

Since:
1.0

Method Summary
 Object getElementType()
           
 
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable
addChangeListener, addStaleListener, dispose, getRealm, isStale, removeChangeListener, removeStaleListener
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getElementType

public Object getElementType()
Returns:
the element type of this observable value, or null if this observable collection is untyped.

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.