Class ViewerSetProperty<S,E>
java.lang.Object
org.eclipse.core.databinding.property.set.SetProperty<S,E>
org.eclipse.core.databinding.property.set.SimpleSetProperty<S,E>
org.eclipse.jface.databinding.viewers.ViewerSetProperty<S,E>
- Type Parameters:
S
- type of the source objectE
- type of the elements in the set
- All Implemented Interfaces:
IProperty
,ISetProperty<S,
,E> IViewerSetProperty<S,
E>
public abstract class ViewerSetProperty<S,E>
extends SimpleSetProperty<S,E>
implements IViewerSetProperty<S,E>
Abstract set property implementation for
Viewer
properties. This
class implements some basic behavior that viewer properties are generally
expected to have, namely:
- Calling
observe(S)
should create the observable on the display realm of the viewer's control, rather than the current default realm - All
observe()
methods should return anIViewerObservableSet
- Since:
- 1.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns an observable set observing this set property on the given property sourceReturns anIViewerObservableSet
observing this set property on the given viewerReturns an observable set observing this set property on the given property sourceMethods inherited from class org.eclipse.core.databinding.property.set.SimpleSetProperty
adaptListener, doGetSet, doSetSet, doSetSet, doUpdateSet, setSet
Methods inherited from class org.eclipse.core.databinding.property.set.SetProperty
getSet, observeDetail, setFactory, setFactory, setSet, updateSet, 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, getSet, observeDetail, setFactory, setFactory, setSet, updateSet, values
-
Constructor Details
-
ViewerSetProperty
public ViewerSetProperty()
-
-
Method Details
-
observe
Description copied from interface:ISetProperty
Returns an observable set observing this set property on the given property source- Specified by:
observe
in interfaceISetProperty<S,
E> - Specified by:
observe
in interfaceIViewerSetProperty<S,
E> - Overrides:
observe
in classSetProperty<S,
E> - Parameters:
source
- the property source- Returns:
- an observable set observing this set property on the given property source
-
observe
Description copied from interface:ISetProperty
Returns an observable set observing this set property on the given property source- Specified by:
observe
in interfaceISetProperty<S,
E> - Overrides:
observe
in classSimpleSetProperty<S,
E> - Parameters:
realm
- the observable's realmsource
- the property source- Returns:
- an observable set observing this set property on the given property source
-
observe
Description copied from interface:IViewerSetProperty
Returns anIViewerObservableSet
observing this set property on the given viewer- Specified by:
observe
in interfaceIViewerSetProperty<S,
E> - Parameters:
viewer
- the source viewer- Returns:
- an observable set observing this set property on the given viewer
-