DefaultEventListViewer instead. This class will be removed in the GL
2.0 release. The wrapping of the source list with an SWT-EDT safe list has been
determined to be undesirable (it is better for the user to provide their own SWT-EDT
safe list).public class EventListViewer<E> extends DefaultEventListViewer<E>
EventList in a List.
This class is not thread safe. It must be used exclusively with the SWT event handler thread.
source| Constructor and Description |
|---|
EventListViewer(EventList<E> source,
List list)
Deprecated.
Creates a new List that displays and responds to changes in the source list.
|
EventListViewer(EventList<E> source,
List list,
ItemFormat<? super E> itemFormat)
Deprecated.
Creates a new List that displays and responds to changes in the source list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Deprecated.
Releases the resources consumed by this
EventListViewer so that it
may eventually be garbage collected. |
getDeselected, getItemFormat, getList, getSelected, getTogglingDeselected, getTogglingSelected, invertSelection, listChangedpublic EventListViewer(EventList<E> source, List list)
source - the EventList that provides the elementslist - the listpublic EventListViewer(EventList<E> source, List list, ItemFormat<? super E> itemFormat)
ItemFormat.source - the EventList that provides the elementslist - the listitemFormat - an ItemFormat for formatting the displayed valuesItemFormat,
GlazedListsSWT.beanItemFormat(String)public void dispose()
EventListViewer so that it
may eventually be garbage collected.
An EventListViewer will be garbage collected without a call to
dispose(), but not before its source EventList is garbage
collected. By calling dispose(), you allow the EventListViewer
to be garbage collected before its source EventList. This is
necessary for situations where an EventListViewer is short-lived but
its source EventList is long-lived.
Warning: It is an error
to call any method on a EventListViewer after it has been disposed.
dispose in class DefaultEventListViewer<E>Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2017-07-26 15:03