com.sdm.quasar.client.core.dialog.lifecycle
Interface LifeCycleListenerSupport

All Known Subinterfaces:
DialogLifeCycleService, DialogManager
All Known Implementing Classes:
DefaultDialogLifeCycleService, DefaultDialogManager, DefaultLifeCycleListenerSupport

public interface LifeCycleListenerSupport

Provides registration and unregistration for observers of the dialog life cycle. The order of the registration of observers are preserved. The observers are notified in reverse order.

Version:
1.0
Author:
Thomas Wolf, sd&m AG, Bernd Olleck, sd&m AG

Method Summary
 void addLifeCycleListener(LifeCycleListener listener)
          Registers an observer of the life cycle of dialogs.
 void removeLifeCycleListener(LifeCycleListener listener)
          Unregisters an observer of the life cycle of dialogs.
 

Method Detail

addLifeCycleListener

public void addLifeCycleListener(LifeCycleListener listener)
Registers an observer of the life cycle of dialogs. The order of the registration of observers are preserved. The observers are notified in reverse order.

Parameters:
listener - the listener to add

removeLifeCycleListener

public void removeLifeCycleListener(LifeCycleListener listener)
Unregisters an observer of the life cycle of dialogs.

Parameters:
listener - the listener to remove