}
@Handler
void onTutorialFeedback()
{
EditDialog editDialog = new EditDialog("Provide Feedback",
"Submit",
"",
false,
true,
new Size(450,300),
new ProgressOperationWithInput<String>() {
@Override
public void execute(String input, ProgressIndicator indicator)
{
if (input == null)
{
indicator.onCompleted();
return;
}
indicator.onProgress("Saving feedback...");
server_.tutorialFeedback(input,
new VoidServerRequestCallback(indicator));
}
});
editDialog.showModal();
}