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, valuespublic MultiListProperty(IListProperty[] properties)
properties - the list propertiespublic MultiListProperty(IListProperty[] properties, Object elementType)
properties - the list propertieselementType - the element type of the MultiListPropertypublic Object getElementType()
IListPropertynull
if untypednull
if untypedprotected List doGetList(Object source)
ListPropertydoGetList in class ListPropertysource - the property sourceprotected void doUpdateList(Object source, ListDiff diff)
ListPropertydoUpdateList in class ListPropertysource - the property sourcediff - a diff describing the changepublic IObservableList observe(Realm realm, Object source)
IListPropertyrealm - the observable's realmsource - the property source
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.