|
|
|
|
org.eclipse.jface.databinding.viewers
Class ViewerValueProperty
java.lang.Object
org.eclipse.core.databinding.property.value.ValueProperty
org.eclipse.core.databinding.property.value.SimpleValueProperty
org.eclipse.jface.databinding.viewers.ViewerValueProperty
-
All Implemented Interfaces:
- org.eclipse.core.databinding.property.IProperty, org.eclipse.core.databinding.property.value.IValueProperty,
IViewerValueProperty
-
public abstract class ViewerValueProperty
- extends org.eclipse.core.databinding.property.value.SimpleValueProperty
- implements
IViewerValueProperty
Abstract value property implementation for
Viewer properties. This
class implements some basic behavior that viewer properties are generally
expected to have, namely:
- Calling
observe(Object) should create the observable on the
display realm of the viewer's control, rather than the current default realm
- All
observe() methods should return an
IViewerObservableValue
-
Since:
- 1.3
Methods inherited from class org.eclipse.core.databinding.property.value.SimpleValueProperty
|
adaptListener, doGetValue, doSetValue, getValue, observeDetail, observeDetail, observeDetail, setValue
|
Methods inherited from class org.eclipse.core.databinding.property.value.ValueProperty
|
list, map, observeDetail, set, value, valueFactory, valueFactory
|
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, list, map, observeDetail, observeDetail, observeDetail, observeDetail, set, value, valueFactory, valueFactory
|
ViewerValueProperty
public ViewerValueProperty()
observe
public
IObservableValue observe(
Object source)
-
Description copied from interface:
org.eclipse.core.databinding.property.value.IValueProperty
- Returns an observable value observing this value property on the given
property source.
-
-
Specified by:
-
observe in interface org.eclipse.core.databinding.property.value.IValueProperty
-
Overrides:
-
observe in class org.eclipse.core.databinding.property.value.ValueProperty
-
-
Parameters:
-
source - the property source
-
Returns:
- an observable value observing this value property on the given
property source
observe
public
IObservableValue observe(
Realm realm,
Object source)
-
Description copied from interface:
org.eclipse.core.databinding.property.value.IValueProperty
- Returns an observable value observing this value property on the given
property source
-
-
Specified by:
-
observe in interface org.eclipse.core.databinding.property.value.IValueProperty
-
Overrides:
-
observe in class org.eclipse.core.databinding.property.value.SimpleValueProperty
-
-
Parameters:
-
realm - the observable's realm -
source - the property source
-
Returns:
- an observable value observing this value property on the given
property source
observe
public
IViewerObservableValue observe(
Viewer viewer)
-
Description copied from interface:
IViewerValueProperty
- Returns an
IViewerObservableValue observing this value property
on the given viewer
-
-
Specified by:
-
observe
in interface
IViewerValueProperty
-
-
Parameters:
-
viewer - the source viewer
-
Returns:
- an observable value observing this value property on the given
viewer
observeDelayed
public
IViewerObservableValue observeDelayed(int delay,
Viewer viewer)
-
Description copied from interface:
IViewerValueProperty
- Returns an
IViewerObservableValue observing this value property
on the given viewer, which delays notification of value changes until at
least delay milliseconds have elapsed since that last change
event, or until a FocusOut event is received from the viewer's control
(whichever happens first).
This method is equivalent to
ViewersObservables.observeDelayedValue(delay, observe(viewer)) .
-
-
Specified by:
-
observeDelayed
in interface
IViewerValueProperty
-
-
Parameters:
-
delay - the delay in milliseconds. -
viewer - the source viewer
-
Returns:
- an observable value observing this value property on the given
viewer, and which delays change notifications for
delay milliseconds.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|