Eclipse Platform
Release 3.6

org.eclipse.core.databinding.property.value
Class ValueProperty

java.lang.Object
  extended by org.eclipse.core.databinding.property.value.ValueProperty
All Implemented Interfaces:
IProperty, IValueProperty
Direct Known Subclasses:
DelegatingValueProperty, SimpleValueProperty

public abstract class ValueProperty
extends Object
implements IValueProperty

Abstract implementation of IValueProperty

Since:
1.2

Constructor Summary
ValueProperty()
           
 
Method Summary
 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(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.
 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

ValueProperty

public ValueProperty()
Method Detail

observe

public IObservableValue observe(Object source)
Description copied from interface: IValueProperty
Returns an observable value observing this value property on the given property source.

Specified by:
observe in interface IValueProperty
Parameters:
source - the property source
Returns:
an observable value observing this value property on the given property source

valueFactory

public IObservableFactory valueFactory()
Description copied from interface: IValueProperty
Returns a factory for creating observable values tracking this property of a particular property source.

Specified by:
valueFactory in interface IValueProperty
Returns:
a factory for creating observable values tracking this property of a particular property source.

valueFactory

public IObservableFactory valueFactory(Realm realm)
Description copied from interface: IValueProperty
Returns a factory for creating observable values in the given realm, tracking this property of a particular property source.

Specified by:
valueFactory in interface IValueProperty
Parameters:
realm - the realm
Returns:
a factory for creating observable values in the given realm, tracking this property of a particular property source.

observeDetail

public IObservableValue observeDetail(IObservableValue master)
Description copied from interface: IValueProperty
Returns an observable value on the master observable's realm which tracks this property on the current value of master.

Specified by:
observeDetail in interface IValueProperty
Parameters:
master - the master observable
Returns:
an observable value which tracks this property of the current value of master.

value

public final IValueProperty value(IValueProperty detailValue)
Description copied from interface: IValueProperty
Returns the nested combination of this property and the specified detail value property. Value modifications made through the returned property are delegated to the detail property, using the value of this property as the source.

Specified by:
value in interface IValueProperty
Parameters:
detailValue - the detail property
Returns:
the nested combination of the master and detail properties

list

public final IListProperty list(IListProperty detailList)
Description copied from interface: IValueProperty
Returns the nested combination of this property and the specified detail list property. List modifications made through the returned property are delegated to the detail property, using the value of the master property as the source.

Specified by:
list in interface IValueProperty
Parameters:
detailList - the detail property
Returns:
the nested combination of the master value and detail list properties

set

public final ISetProperty set(ISetProperty detailSet)
Description copied from interface: IValueProperty
Returns the nested combination of this property and the specified detail set property. Set modifications made through the returned property are delegated to the detail property, using the value of the master property as the source.

Specified by:
set in interface IValueProperty
Parameters:
detailSet - the detail property
Returns:
the nested combination of the master value and detail set properties

map

public final IMapProperty map(IMapProperty detailMap)
Description copied from interface: IValueProperty
Returns the nested combination of this property and the specified detail map property. Map modifications made through the returned property are delegated to the detail property, using the value of the master property as the source.

Specified by:
map in interface IValueProperty
Parameters:
detailMap - the detail property
Returns:
the nested combination of the master value and detial map properties

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.