Search in sources :

Example 1 with ModalFooterYesNoCancelButtons

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();
}
Also used : ModalFooterYesNoCancelButtons(org.uberfire.ext.widgets.common.client.common.popups.footers.ModalFooterYesNoCancelButtons) BaseModal(org.uberfire.ext.widgets.common.client.common.popups.BaseModal) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 BaseModal (org.uberfire.ext.widgets.common.client.common.popups.BaseModal)1 ModalFooterYesNoCancelButtons (org.uberfire.ext.widgets.common.client.common.popups.footers.ModalFooterYesNoCancelButtons)1