private static void showDialog(String message, String title, String style) { DialogControl<String> ctl = DialogControl.create(message, title, style, LABEL_ID_OK, null, null, null, null); PromptDialog.show(ctl); }
public static void prompt(String message, String title, String styles, String responses, String exclusions, String defaultResponse, String responseId, IResponseCallback<DialogResponse<String>> callback) { DialogControl<String> ctl = DialogControl.create(message, title, styles, responses, exclusions, defaultResponse, responseId, (response) -> { IResponseCallback.invoke(callback, response); }); PromptDialog.show(ctl); }