use of org.uberfire.ext.widgets.common.client.common.popups.footers.ModalFooterOKButton in project kie-wb-common by kiegroup.
the class PreviewFormPresenterViewImpl method doInit.
@PostConstruct
protected void doInit() {
modal = new BaseModal();
modal.setBody(this);
modal.setTitle(translationService.getTranslation(FormEditorConstants.FormEditorViewImplPreview));
modal.add(new ModalFooterOKButton(new Command() {
@Override
public void execute() {
modal.hide();
}
}));
content.add(formRenderer);
}
use of org.uberfire.ext.widgets.common.client.common.popups.footers.ModalFooterOKButton in project kie-wb-common by kiegroup.
the class AlertPopupViewImpl method setup.
@PostConstruct
void setup() {
this.modal.setBody(this);
this.modal.add(new ModalFooterOKButton(modal::hide));
}
Aggregations