public abstract class WidgetListProperty extends SimpleListProperty implements IWidgetListProperty
Widget
properties. This
class implements some basic behavior that widget properties are generally
expected to have, namely:
observe(Object)
should create the observable on the
display realm of the widget, rather than the current default realm
observe()
methods should return an
ISWTObservable
Constructor and Description |
---|
WidgetListProperty() |
Modifier and Type | Method and Description |
---|---|
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
|
ISWTObservableList |
observe(Widget widget)
Returns an
ISWTObservableList observing this list property on the
given widget |
adaptListener, doGetList, doSetList, doSetList, doUpdateList, setList
getList, listFactory, listFactory, observeDetail, setList, updateList, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementType, getList, listFactory, listFactory, observeDetail, setList, updateList, values
public IObservableList observe(Object source)
IListProperty
observe
in interface IListProperty
observe
in class ListProperty
source
- the property sourcepublic IObservableList observe(Realm realm, Object source)
IListProperty
observe
in interface IListProperty
observe
in class SimpleListProperty
realm
- the observable's realmsource
- the property sourcepublic ISWTObservableList observe(Widget widget)
IWidgetListProperty
ISWTObservableList
observing this list property on the
given widgetobserve
in interface IWidgetListProperty
widget
- the source widget
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.