|
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,
Object elementType)
Constructs a MultiListProperty for observing the specified list properties in sequence. |
Method Summary | |
---|---|
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 |
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 propertiespublic MultiListProperty(IListProperty[] properties, Object elementType)
properties
- the list propertieselementType
- the element type of the MultiListPropertyMethod Detail |
---|
public Object getElementType()
IListProperty
null
if untyped
null
if untypedprotected List doGetList(Object source)
ListProperty
doGetList
in class ListProperty
source
- the property source
protected 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
|
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.