com.sdm.quasar.client.core.dialogbase.services
Interface CloseObjectionService.CloseObjectionCallback

Enclosing interface:
CloseObjectionService

public static interface CloseObjectionService.CloseObjectionCallback

Callback used by CloseObjectionService.

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

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

Method Detail

canClose

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

If this method returns false, the dialog should not be closed. Note that despite a return value of false the dialog may still be closed (disposed) 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 closed.