|
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.value.ValueProperty
org.eclipse.core.databinding.property.value.DelegatingValueProperty
public abstract class DelegatingValueProperty
Constructor Summary | |
---|---|
protected |
DelegatingValueProperty()
|
protected |
DelegatingValueProperty(Object valueType)
|
Method Summary | |
---|---|
protected abstract IValueProperty |
doGetDelegate(Object source)
Returns the property to delegate to for the specified source object. |
protected Object |
doGetValue(Object source)
Returns the value of the property on the specified source object |
protected void |
doSetValue(Object source,
Object value)
Sets the source's value property to the specified vlaue |
IValueProperty |
getDelegate(Object source)
Returns the property to delegate to for the specified source object. |
Object |
getValueType()
Returns the value type of the property, or null if untyped. |
IObservableValue |
observe(Object source)
Returns an observable value observing this value property on the given property source. |
IObservableValue |
observe(Realm realm,
Object source)
Returns an observable value observing this value property on the given property source |
IObservableList |
observeDetail(IObservableList master)
Returns an observable list on the master observable's realm which tracks this property on each element of master . |
IObservableMap |
observeDetail(IObservableMap master)
Returns an observable map on the master observable's realm where the map's key set is the same as the master observable map, and where each value is the property value of the corresponding value in the master observable map. |
IObservableMap |
observeDetail(IObservableSet master)
Returns an observable map on the master observable's realm where the map's key set is the specified master set, and where each key maps to the current property value for each element. |
Methods inherited from class org.eclipse.core.databinding.property.value.ValueProperty |
---|
getValue, list, map, observeDetail, set, setValue, value, valueFactory, valueFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DelegatingValueProperty()
protected DelegatingValueProperty(Object valueType)
Method Detail |
---|
public final IValueProperty getDelegate(Object source)
source
- the property source (may be null)
protected abstract IValueProperty doGetDelegate(Object source)
source
- the property source
protected Object doGetValue(Object source)
ValueProperty
doGetValue
in class ValueProperty
source
- the property source
protected void doSetValue(Object source, Object value)
ValueProperty
doSetValue
in class ValueProperty
source
- the property sourcevalue
- the new valuepublic Object getValueType()
IValueProperty
null
if untyped.
null
if untyped.public IObservableValue observe(Object source)
IValueProperty
observe
in interface IValueProperty
observe
in class ValueProperty
source
- the property source
public IObservableValue observe(Realm realm, Object source)
IValueProperty
realm
- the observable's realmsource
- the property source
public IObservableList observeDetail(IObservableList master)
IValueProperty
master
.
master
- the master observable
public IObservableMap observeDetail(IObservableSet master)
IValueProperty
master
- the master observable
public IObservableMap observeDetail(IObservableMap master)
IValueProperty
master
- the master observable
|
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.