* Event.
*/
@UiHandler("settingsButton")
void showSettings(final ClickEvent ev)
{
final NotificationSettingsWidget settings = new NotificationSettingsWidget(true);
settings.setCloseCommand(new Command()
{
public void execute()
{
settings.removeFromParent();
main.setVisible(true);
}
});
// This assumes the dialog hosts the dialog content in a 1) dedicated panel which 2) allows multiple children.