Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.databinding.viewers
Class ViewerValueProperty


java.lang.Object
  extended by org.eclipse.core.databinding.property.value.ValueProperty
      extended by org.eclipse.core.databinding.property.value.SimpleValueProperty
          extended by 
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

Constructor Summary
ViewerValueProperty ()
           
 
Method Summary
  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
  IViewerObservableValue observe ( Viewer viewer)
          Returns an IViewerObservableValue observing this value property on the given viewer
  IViewerObservableValue observeDelayed (int delay, Viewer viewer)
          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).
 
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
 

Constructor Detail

ViewerValueProperty

public ViewerValueProperty()
Method Detail

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.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire