Package org.eclipse.rap.rwt.widgets
Interface DialogCallback
-
public interface DialogCallbackThis 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 voiddialogClosed(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 thereturnCodeis defined by the respectiveDialogimplementation but usually indicates how the dialog was left. For example, pressing the 'OK' button would lead to thereturnCodeSWT.OK.- Parameters:
returnCode-SWT.CANCELif the dialog was closed with the shells' close button, a dialog-specific return code otherwise.- See Also:
SWT,Dialog,Dialog#open(DialogCallback)
-
-