public class MultiListProperty extends ListProperty
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected List |
doGetList(Object source)
Returns a List with the current contents of the source's list property
|
protected void |
doUpdateList(Object source,
ListDiff 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 |
observe(Realm realm,
Object 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[] properties)
properties
- the list propertiespublic MultiListProperty(IListProperty[] properties, Object elementType)
properties
- the list propertieselementType
- the element type of the MultiListPropertypublic Object getElementType()
IListProperty
null
if untypednull
if untypedprotected List doGetList(Object source)
ListProperty
doGetList
in class ListProperty
source
- the property sourceprotected void doUpdateList(Object source, ListDiff diff)
ListProperty
doUpdateList
in class ListProperty
source
- the property sourcediff
- a diff describing the changepublic IObservableList observe(Realm realm, Object source)
IListProperty
realm
- the observable's realmsource
- the property source
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.