Eclipse Platform
Release 3.6

org.eclipse.core.databinding.property.list
Class MultiListProperty

java.lang.Object
  extended by org.eclipse.core.databinding.property.list.ListProperty
      extended by org.eclipse.core.databinding.property.list.MultiListProperty
All Implemented Interfaces:
IProperty, IListProperty

public class MultiListProperty
extends ListProperty

A list property for observing multiple list properties in sequence in a combined list.

Since:
1.2

Constructor Summary
MultiListProperty(IListProperty[] properties)
          Constructs a MultiListProperty for observing the specified list properties in sequence
MultiListProperty(IListProperty[] properties, Object elementType)
          Constructs a MultiListProperty for observing the specified list properties in sequence.
 
Method Summary
 Object getElementType()
          Returns the type of the elements in the collection or null if untyped
 IObservableList observe(Realm realm, Object source)
          Returns an observable list observing this list property on the given property source
 
Methods inherited from class org.eclipse.core.databinding.property.list.ListProperty
listFactory, listFactory, observe, observeDetail, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiListProperty

public MultiListProperty(IListProperty[] properties)
Constructs a MultiListProperty for observing the specified list properties in sequence

Parameters:
properties - the list properties

MultiListProperty

public MultiListProperty(IListProperty[] properties,
                         Object elementType)
Constructs a MultiListProperty for observing the specified list properties in sequence.

Parameters:
properties - the list properties
elementType - the element type of the MultiListProperty
Method Detail

getElementType

public Object getElementType()
Description copied from interface: IListProperty
Returns the type of the elements in the collection or null if untyped

Returns:
the type of the elements in the collection or null if untyped

observe

public IObservableList observe(Realm realm,
                               Object source)
Description copied from interface: IListProperty
Returns an observable list observing this list property on the given property source

Parameters:
realm - the observable's realm
source - the property source
Returns:
an observable list observing this list property on the given property source

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

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