E
- the type of the elements in this change eventpublic class ListChangeEvent<E> extends ObservableEvent
IObservableList
object.Modifier and Type | Field and Description |
---|---|
ListDiff<E> |
diff
Description of the change to the source observable list.
|
source
Constructor and Description |
---|
ListChangeEvent(IObservableList<E> source,
ListDiff<E> diff)
Creates a new list change event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(IObservablesListener listener)
Dispatch this event to the given listener.
|
protected Object |
getListenerType()
Returns a unique object used for distinguishing this event type from
others.
|
IObservableList<E> |
getObservableList()
Returns the observable list from which this event originated.
|
getObservable
getSource, toString
public ListChangeEvent(IObservableList<E> source, ListDiff<E> diff)
source
- the source observable listdiff
- the list changepublic IObservableList<E> getObservableList()
protected void dispatch(IObservablesListener listener)
ObservableEvent
dispatch
in class ObservableEvent
listener
- the listener that should handle the eventprotected Object getListenerType()
ObservableEvent
getListenerType
in class ObservableEvent
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.