use of org.uberfire.ext.widgets.common.client.common.popups.footers.ModalFooterYesNoCancelButtons in project kie-wb-common by kiegroup.
the class ShowAssetUsagesDisplayerViewViewImpl method init.
@PostConstruct
public void init() {
modal = new BaseModal();
modal.setTitle(translationService.getTranslation(RefactoringConstants.ShowAssetUsagesDisplayerViewViewImplTitle));
modal.setBody(ElementWrapperWidget.getWidget(this.getElement()));
modal.addHideHandler(event -> presenter.onClose());
footer = new ModalFooterYesNoCancelButtons(modal, null, null, null, null, this::onProceed, translationService.getTranslation(RefactoringConstants.ShowAssetUsagesDisplayerViewViewImplProceed), null, null, this::onCancel, translationService.getTranslation(RefactoringConstants.ShowAssetUsagesDisplayerViewViewImplCancel), null, null);
modal.add(footer);
initTable();
}
Aggregations