class NotificationWidgetViewImpl extends Composite implements NotificationWidgetView {

    @PostConstruct
    public void init() {
        addButton.addEventListener("click", event -> addOrEdit(new NotificationRow()), false);
        closeButton.addEventListener("click", event -> hide(), false);
        okButton.addEventListener("click", event -> ok(), false);
    }

}