Class WidgetListProperty
- java.lang.Object
-
- org.eclipse.core.databinding.property.list.ListProperty<S,E>
-
- org.eclipse.core.databinding.property.list.SimpleListProperty
-
- org.eclipse.jface.databinding.swt.WidgetListProperty
-
- All Implemented Interfaces:
IProperty,IListProperty,IWidgetListProperty
public abstract class WidgetListProperty extends SimpleListProperty implements IWidgetListProperty
Abstract list property implementation forWidgetproperties. This class implements some basic behavior that widget properties are generally expected to have, namely:- Calling
observe(Object)should create the observable on the display realm of the widget, rather than the current default realm - All
observe()methods should return anISWTObservable
- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description WidgetListProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IObservableListobserve(Object source)Returns an observable list observing this list property on the given property sourceIObservableListobserve(Realm realm, Object source)Returns an observable list observing this list property on the given property sourceISWTObservableListobserve(Widget widget)Returns anISWTObservableListobserving this list property on the given widget-
Methods inherited from class org.eclipse.core.databinding.property.list.SimpleListProperty
adaptListener, doGetList, doSetList, doSetList, doUpdateList, setList
-
Methods inherited from class org.eclipse.core.databinding.property.list.ListProperty
getList, listFactory, listFactory, observeDetail, setList, updateList, 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, getList, listFactory, listFactory, observeDetail, setList, updateList, values
-
-
-
-
Method Detail
-
observe
public IObservableList observe(Object source)
Description copied from interface:IListPropertyReturns an observable list observing this list property on the given property source- Specified by:
observein interfaceIListProperty- Overrides:
observein classListProperty- 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:IListPropertyReturns an observable list observing this list property on the given property source- Specified by:
observein interfaceIListProperty- Overrides:
observein classSimpleListProperty- Parameters:
realm- the observable's realmsource- the property source- Returns:
- an observable list observing this list property on the given property source
-
observe
public ISWTObservableList observe(Widget widget)
Description copied from interface:IWidgetListPropertyReturns anISWTObservableListobserving this list property on the given widget- Specified by:
observein interfaceIWidgetListProperty- Parameters:
widget- the source widget- Returns:
- an observable list observing this list property on the given widget
-
-