com.sdm.quasar.client.core.dialogbase.services
Interface ActivationObjectionService.DeactivationObjectionCallback

Enclosing interface:
ActivationObjectionService

public static interface ActivationObjectionService.DeactivationObjectionCallback

Callback used by ActivationObjectionService.

Version:
1.$Revision$
Author:
Thomas Wolf, sd&m AG, Martin Haft, sd&m AG, Bernd Olleck, sd&m AG

Method Summary
 boolean canDeactivate()
          Asks if the dialog that the callback has been registered for can be deactivated.
 

Method Detail

canDeactivate

public boolean canDeactivate()
Asks if the dialog that the callback has been registered for can be deactivated.

If this method returns false, the dialog should not be deactivated by calling com.sdm.quasar.client.comp.dlgdef.lifecyclectrl.LifeCycle#deactivate() Note that despite a return value of false the dialog may still be deactivated for some reasons.

If you use user interaction or start threads while processing this method, you should take care that the method does not return before the user interaction has been completed and all asynchronous operations started have been finished.

Returns:
false if the dialog should not be deactivated.