|
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.DelegatingListProperty
public abstract class DelegatingListProperty
Constructor Summary | |
---|---|
protected |
DelegatingListProperty()
|
protected |
DelegatingListProperty(Object elementType)
|
Method Summary | |
---|---|
protected abstract IListProperty |
doGetDelegate(Object source)
Returns the property to delegate to for the specified source object. |
protected List |
doGetList(Object source)
Returns a List with the current contents of the source's list property |
protected void |
doSetList(Object source,
List list)
Updates the property on the source with the specified change. |
protected void |
doUpdateList(Object source,
ListDiff diff)
Updates the property on the source with the specified change |
IListProperty |
getDelegate(Object source)
Returns the property to delegate to for the specified source object. |
Object |
getElementType()
Returns the type of the elements in the collection or null
if untyped |
IObservableList |
observe(Object source)
Returns an observable list observing this list property on the given property source |
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 |
---|
getList, listFactory, listFactory, observeDetail, setList, updateList, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DelegatingListProperty()
protected DelegatingListProperty(Object elementType)
Method Detail |
---|
public final IListProperty getDelegate(Object source)
source
- the property source (may be null)
protected abstract IListProperty doGetDelegate(Object source)
source
- the property source
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 doSetList(Object source, List list)
ListProperty
doSetList
in class ListProperty
source
- the property sourcelist
- the new listprotected void doUpdateList(Object source, ListDiff diff)
ListProperty
doUpdateList
in class ListProperty
source
- the property sourcediff
- a diff describing the changepublic IObservableList observe(Object source)
IListProperty
observe
in interface IListProperty
observe
in class ListProperty
source
- the property source
public 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.