public class SetChangeEvent extends ObservableEvent
IObservableSet
object.Modifier and Type | Field and Description |
---|---|
SetDiff |
diff
Description of the change to the source observable set.
|
source
Constructor and Description |
---|
SetChangeEvent(IObservableSet source,
SetDiff diff)
Creates a new set 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.
|
IObservableSet |
getObservableSet()
Returns the observable set from which this event originated.
|
getObservable
getSource, toString
public SetDiff diff
public SetChangeEvent(IObservableSet source, SetDiff diff)
source
- the source observable setdiff
- the set changepublic IObservableSet getObservableSet()
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, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.