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

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 ViewerListProperty

java.lang.Object
  extended by org.eclipse.core.databinding.property.list.ListProperty
      extended by org.eclipse.core.databinding.property.list.SimpleListProperty
          extended by 
org.eclipse.jface.databinding.viewers.ViewerListProperty
All Implemented Interfaces:
org.eclipse.core.databinding.property.IProperty, org.eclipse.core.databinding.property.list.IListProperty, IViewerListProperty

public abstract class ViewerListProperty
extends org.eclipse.core.databinding.property.list.SimpleListProperty
implements IViewerListProperty

Abstract list 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 IViewerObservableList

Since:
1.3

Constructor Summary
ViewerListProperty ()
           
 
Method Summary
  IObservableList observe ( Object source)
          Returns an observable list observing this list property on the given property source
  IObservableList observe ( Realm realm, Object source)
          Returns an observable list observing this list property on the given property source
  IViewerObservableList observe ( Viewer viewer)
          Returns an IViewerObservableList observing this list property on the given viewer
 
Methods inherited from class org.eclipse.core.databinding.property.list.SimpleListProperty
adaptListener, doGetList, doSetList, getList, setList
 
Methods inherited from class org.eclipse.core.databinding.property.list.ListProperty
listFactory, listFactory, observeDetail, values
 
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.list.IListProperty
getElementType, listFactory, listFactory, observeDetail, values
 

Constructor Detail

ViewerListProperty

public ViewerListProperty()
Method Detail

observe

public 
IObservableList observe(
Object source)
Description copied from interface: org.eclipse.core.databinding.property.list.IListProperty
Returns an observable list observing this list property on the given property source

Specified by:
observe in interface org.eclipse.core.databinding.property.list.IListProperty
Overrides:
observe in class org.eclipse.core.databinding.property.list.ListProperty
Parameters:
source - the property source
Returns:
an observable list observing this list property on the given property source

observe

public 
IObservableList observe(
Realm realm,
                               
Object source)
Description copied from interface: org.eclipse.core.databinding.property.list.IListProperty
Returns an observable list observing this list property on the given property source

Specified by:
observe in interface org.eclipse.core.databinding.property.list.IListProperty
Overrides:
observe in class org.eclipse.core.databinding.property.list.SimpleListProperty
Parameters:
realm - the observable's realm
source - the property source
Returns:
an observable list observing this list property on the given property source

observe

public 
IViewerObservableList observe(
Viewer viewer)
Description copied from interface: IViewerListProperty
Returns an IViewerObservableList observing this list property on the given viewer

Specified by:
observe in interface IViewerListProperty
Parameters:
viewer - the source viewer
Returns:
an observable list observing this list property on the given viewer

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