Eclipse Platform
Release 3.4

org.eclipse.core.databinding.observable
Interface IObservableCollection

All Superinterfaces:
Collection, IObservable
All Known Subinterfaces:
IObservableList, IObservableSet, IViewerObservableList, IViewerObservableSet
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.

Since:
1.0
Restriction
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.

Restriction
This interface is not intended to be extended by clients.

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.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.