|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.databinding.property.list.ListProperty
org.eclipse.core.databinding.property.list.MultiListProperty
public class MultiListProperty
A list property for observing multiple list properties in sequence in a combined list.
| Constructor Summary | |
|---|---|
MultiListProperty(IListProperty[] properties)
Constructs a MultiListProperty for observing the specified list properties in sequence |
|
MultiListProperty(IListProperty[] properties,
java.lang.Object elementType)
Constructs a MultiListProperty for observing the specified list properties in sequence. |
|
| Method Summary | |
|---|---|
protected java.util.List |
doGetList(java.lang.Object source)
Returns a List with the current contents of the source's list property |
protected void |
doUpdateList(java.lang.Object source,
ListDiff diff)
Updates the property on the source with the specified change |
java.lang.Object |
getElementType()
Returns the type of the elements in the collection or null
if untyped |
IObservableList |
observe(Realm realm,
java.lang.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 |
|---|
doSetList, getList, listFactory, listFactory, observe, observeDetail, setList, updateList, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiListProperty(IListProperty[] properties)
properties - the list properties
public MultiListProperty(IListProperty[] properties,
java.lang.Object elementType)
properties - the list propertieselementType - the element type of the MultiListProperty| Method Detail |
|---|
public java.lang.Object getElementType()
IListPropertynull
if untyped
null
if untypedprotected java.util.List doGetList(java.lang.Object source)
ListProperty
doGetList in class ListPropertysource - the property source
protected void doUpdateList(java.lang.Object source,
ListDiff diff)
ListProperty
doUpdateList in class ListPropertysource - the property sourcediff - a diff describing the change
public IObservableList observe(Realm realm,
java.lang.Object source)
IListProperty
realm - the observable's realmsource - the property source
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.