public abstract class ViewerListProperty extends SimpleListProperty implements IViewerListProperty
Viewer
properties. This
class implements some basic behavior that viewer properties are generally
expected to have, namely:
observe(Object)
should create the observable on the
display realm of the viewer's control, rather than the current default realm
observe()
methods should return an
IViewerObservableList
Constructor and Description |
---|
ViewerListProperty() |
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
|
IViewerObservableList |
observe(Viewer viewer)
Returns an
IViewerObservableList observing this list property on
the given viewer |
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 IViewerObservableList observe(Viewer viewer)
IViewerListProperty
IViewerObservableList
observing this list property on
the given viewerobserve
in interface IViewerListProperty
viewer
- the source viewer
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.