/** * Control parameters for the dialog. * * @param message Text message * @param title Title of dialog * @param styles Style classes for icon, message text, and panel (pipe-delimited) * @param responses Responses for the dialog. * @param excludeResponses Only applies if saveResponseId is specified. This is a list of * responses that will not be saved. * @param defaultResponse Default response for the dialog. * @param saveResponseId Uniquely identifies this response for purposes of saving and retrieving * the last response. If not specified (null or empty), the response is not saved. * Otherwise, if a saved response exists, it is returned without displaying the * dialog. If a saved response does not exist, the user is prompted in the normal * manner with the addition of a check box on the dialog asking if the response is to * be saved. If this box is checked, the user's response is then saved as a user * preference. * @param callback Callback to receive response. */ public DialogControl(String message, String title, String styles, List<T> responses, List<T> excludeResponses, T defaultResponse, String saveResponseId, IPromptCallback<T> callback) { this(message, title, styles, DialogResponse.toResponseList(responses, excludeResponses, defaultResponse), saveResponseId, callback); }