|
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
public abstract class ValueProperty
Abstract implementation of IValueProperty
| Constructor Summary | |
|---|---|
ValueProperty()
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
doGetValue(java.lang.Object source)
Returns the value of the property on the specified source object |
protected void |
doSetValue(java.lang.Object source,
java.lang.Object value)
Sets the source's value property to the specified vlaue |
java.lang.Object |
getValue(java.lang.Object source)
Returns the current value of this property on the specified property source. |
IListProperty |
list(IListProperty detailList)
Returns the nested combination of this property and the specified detail list property. |
IMapProperty |
map(IMapProperty detailMap)
Returns the nested combination of this property and the specified detail map property. |
IObservableValue |
observe(java.lang.Object source)
Returns an observable value observing this value property on the given property source. |
IObservableValue |
observeDetail(IObservableValue master)
Returns an observable value on the master observable's realm which tracks this property on the current value of master. |
ISetProperty |
set(ISetProperty detailSet)
Returns the nested combination of this property and the specified detail set property. |
void |
setValue(java.lang.Object source,
java.lang.Object value)
Sets this property on the specified property source to the specified value. |
IValueProperty |
value(IValueProperty detailValue)
Returns the nested combination of this property and the specified detail value property. |
IObservableFactory |
valueFactory()
Returns a factory for creating observable values tracking this property of a particular property source. |
IObservableFactory |
valueFactory(Realm realm)
Returns a factory for creating observable values in the given realm, tracking this property of a particular property source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.databinding.property.value.IValueProperty |
|---|
getValueType, observe, observeDetail, observeDetail, observeDetail |
| Constructor Detail |
|---|
public ValueProperty()
| Method Detail |
|---|
public final java.lang.Object getValue(java.lang.Object source)
IValueProperty
getValue in interface IValuePropertysource - the property source (may be null)
protected java.lang.Object doGetValue(java.lang.Object source)
source - the property source
public final void setValue(java.lang.Object source,
java.lang.Object value)
IValueProperty
Note: This method is made available to facilitate basic property
access. However if the property source lacks property change
notification, then observables on the source object may not be notified
of the change. In most cases it is preferable to call
IObservableValue.setValue(Object) on the observable instead.
setValue in interface IValuePropertysource - the property source (may be null)value - the new property value
protected void doSetValue(java.lang.Object source,
java.lang.Object value)
source - the property sourcevalue - the new valuepublic IObservableValue observe(java.lang.Object source)
IValueProperty
observe in interface IValuePropertysource - the property source
public IObservableFactory valueFactory()
IValueProperty
valueFactory in interface IValuePropertypublic IObservableFactory valueFactory(Realm realm)
IValueProperty
valueFactory in interface IValuePropertyrealm - the realm
public IObservableValue observeDetail(IObservableValue master)
IValuePropertymaster.
observeDetail in interface IValuePropertymaster - the master observable
master.public final IValueProperty value(IValueProperty detailValue)
IValueProperty
value in interface IValuePropertydetailValue - the detail property
public final IListProperty list(IListProperty detailList)
IValueProperty
list in interface IValuePropertydetailList - the detail property
public final ISetProperty set(ISetProperty detailSet)
IValueProperty
set in interface IValuePropertydetailSet - the detail property
public final IMapProperty map(IMapProperty detailMap)
IValueProperty
map in interface IValuePropertydetailMap - the detail property
|
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.