org.eclipse.jpt.common.utility.model.event
Class ChangeEvent
java.lang.Object
java.util.EventObject
org.eclipse.jpt.common.utility.model.event.ChangeEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CollectionEvent, ListEvent, PropertyChangeEvent, StateChangeEvent
public abstract class ChangeEvent
- extends EventObject
Abstract class for all the change events that can be fired by models.
Provisional API: This class is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
ChangeEvent(Model source)
Construct a new change event. |
ChangeEvent
protected ChangeEvent(Model source)
- Construct a new change event.
- Parameters:
source - The object on which the event initially occurred.
getSource
public Model getSource()
- Covariant override.
- Overrides:
getSource in class EventObject
toString
public String toString()
- Overrides:
toString in class EventObject
toString
protected void toString(StringBuilder sb)
Copyright (c) 2012 Oracle. All rights reserved.