Package org.eclipse.rap.rwt.widgets
Interface DialogCallback
-
public interface DialogCallback
This callback interface is used to inform application code that a dialog was closed.- Since:
- 2.0
- See Also:
Dialog.open(DialogCallback)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dialogClosed(int returnCode)
This method is called after a dialog was closed.
-
-
-
Method Detail
-
dialogClosed
void dialogClosed(int returnCode)
This method is called after a dialog was closed. The meaning of thereturnCode
is defined by the respectiveDialog
implementation but usually indicates how the dialog was left. For example, pressing the 'OK' button would lead to thereturnCode
SWT.OK
.- Parameters:
returnCode
-SWT.CANCEL
if the dialog was closed with the shells' close button, a dialog-specific return code otherwise.- See Also:
SWT
,Dialog
,Dialog#open(DialogCallback)
-
-