org.eclipse.jpt.utility.model.listener
Interface StateChangeListener
- All Superinterfaces:
- ChangeListener, java.util.EventListener
public interface StateChangeListener
- extends ChangeListener
A generic "state change" event gets delivered whenever a model changes to
such extent that it cannot be delineated all aspects of it that have changed.
You can register a StateChangeListener with a source model so as to be notified
of any such changes.
Provisional API: This interface 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.
stateChanged
void stateChanged(StateChangeEvent event)
- This method gets called when a model has changed in some general fashion.
- Parameters:
event
- A StateChangeEvent describing the event source.