org.eclipse.core.databinding.observable.list
public class ListChangeEvent extends ObservableEvent
IObservableList object.| Modifier and Type | Field and Description |
|---|---|
ListDiff |
diff
Description of the change to the source observable list.
|
source| Constructor and Description |
|---|
ListChangeEvent(IObservableList source,
ListDiff 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 |
getObservableList()
Returns the observable list from which this event originated.
|
getObservablegetSource, toStringpublic ListDiff diff
public ListChangeEvent(IObservableList source, ListDiff diff)
source - the source observable listdiff - the list changepublic IObservableList getObservableList()
protected void dispatch(IObservablesListener listener)
ObservableEventdispatch in class ObservableEventlistener - the listener that should handle the eventprotected Object getListenerType()
ObservableEventgetListenerType in class ObservableEventGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.