S
- type of the source objectE
- type of the elements in the listpublic class MultiListProperty<S,E> extends ListProperty<S,E>
Constructor and Description |
---|
MultiListProperty(IListProperty<S,E>[] properties)
Constructs a MultiListProperty for observing the specified list
properties in sequence
|
MultiListProperty(IListProperty<S,E>[] properties,
Object elementType)
Constructs a MultiListProperty for observing the specified list
properties in sequence.
|
Modifier and Type | Method and Description |
---|---|
protected List<E> |
doGetList(S source)
Returns a List with the current contents of the source's list property
|
protected void |
doUpdateList(S source,
ListDiff<E> diff)
Updates the property on the source with the specified change
|
Object |
getElementType()
Returns the type of the elements in the collection or
null
if untyped |
IObservableList<E> |
observe(Realm realm,
S source)
Returns an observable list observing this list property on the given
property source
|
doSetList, getList, listFactory, listFactory, observe, observeDetail, setList, updateList, values
public MultiListProperty(IListProperty<S,E>[] properties)
properties
- the list propertiespublic MultiListProperty(IListProperty<S,E>[] properties, Object elementType)
properties
- the list propertieselementType
- the element type of the MultiListPropertypublic Object getElementType()
IListProperty
null
if untypednull
if untypedprotected List<E> doGetList(S source)
ListProperty
doGetList
in class ListProperty<S,E>
source
- the property sourceprotected void doUpdateList(S source, ListDiff<E> diff)
ListProperty
doUpdateList
in class ListProperty<S,E>
source
- the property sourcediff
- a diff describing the changepublic IObservableList<E> observe(Realm realm, S source)
IListProperty
realm
- the observable's realmsource
- the property source
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.