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 ViewerSetProperty

java.lang.Object
  extended by org.eclipse.core.databinding.property.set.SetProperty
      extended by org.eclipse.core.databinding.property.set.SimpleSetProperty
          extended by 
org.eclipse.jface.databinding.viewers.ViewerSetProperty
All Implemented Interfaces:
org.eclipse.core.databinding.property.IProperty, org.eclipse.core.databinding.property.set.ISetProperty, IViewerSetProperty

public abstract class ViewerSetProperty
extends org.eclipse.core.databinding.property.set.SimpleSetProperty
implements IViewerSetProperty

Abstract set 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 IViewerObservableSet

Since:
1.3

Constructor Summary
ViewerSetProperty ()
           
 
Method Summary
  IObservableSet observe ( Object source)
          Returns an observable set observing this set property on the given property source
  IObservableSet observe ( Realm realm, Object source)
          Returns an observable set observing this set property on the given property source
  IViewerObservableSet observe ( Viewer viewer)
          Returns an IViewerObservableSet observing this set property on the given viewer
 
Methods inherited from class org.eclipse.core.databinding.property.set.SimpleSetProperty
adaptListener, doGetSet, doSetSet, getSet, setSet
 
Methods inherited from class org.eclipse.core.databinding.property.set.SetProperty
observeDetail, setFactory, setFactory, 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.set.ISetProperty
getElementType, observeDetail, setFactory, setFactory, values
 

Constructor Detail

ViewerSetProperty

public ViewerSetProperty()
Method Detail

observe

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

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

observe

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

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

observe

public 
IViewerObservableSet observe(
Viewer viewer)
Description copied from interface: IViewerSetProperty
Returns an IViewerObservableSet observing this set property on the given viewer

Specified by:
observe in interface IViewerSetProperty
Parameters:
viewer - the source viewer
Returns:
an observable set observing this set 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