@PostConstruct void setup() { this.modal.setBody( this ); this.modal.add( new ModalFooterOKButton( modal::hide ) ); }
@Override public void init(final ChangePassword presenter) { this.presenter = presenter; initWidget(uiBinder.createAndBindUi(this)); modal.setBody(this); }
@Override public void init(final ChangePassword presenter) { this.presenter = presenter; initWidget(uiBinder.createAndBindUi(this)); modal.setBody(this); }
@PostConstruct void init() { this.modal.setTitle(getSelectDocumentViewTitle()); this.modal.setBody(this); this.modal.add(footer); this.modal.addHiddenHandler((e) -> onHidden()); }
@PostConstruct public void init() { modal = new BaseModal(); modal.setTitle(translationService.getTranslation(FormEditorConstants.ChangesNotificationDisplayerTitle)); modal.setBody(ElementWrapperWidget.getWidget(this.getElement())); modal.add(footer); }
@PostConstruct private void init() { this.modal = new BaseModal(); this.modal.setBody(ElementWrapperWidget.getWidget(this.getElement())); this.modal.setClosable(false); modal.add(new ModalFooterOKCancelButtons(this::onOK, this::onCancel)); }
@PostConstruct private void init() { this.modal = new BaseModal(); this.modal.setBody(ElementWrapperWidget.getWidget(this.getElement())); this.modal.setClosable(false); modal.add(new ModalFooterOKCancelButtons(this::onOK, this::onCancel)); }
@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); }
@Override public void show() { modal = new BaseModal(); modal.setTitle( translationService.getTranslation( KieWorkbenchWidgetsConstants.ValidationPopupViewImpl_ValidationErrors ) ); modal.setBody( ElementWrapperWidget.getWidget( view ) ); modal.show(); }
@PostConstruct public void init() { modal = new BaseModal(); modal.setBody(ElementWrapperWidget.getWidget(this.getElement())); modal.add(footer); fileNameTextBox.setPlaceholder(translationService.getTranslation(KieWorkbenchWidgetsConstants.NewResourceViewResourceNamePlaceholder)); fileTypeLabel.setShowRequiredIndicator(true); }
@PostConstruct protected void init() { modal = new BaseModal(); modal.setClosable(false); modal.setBody(this); modal.add(new ModalFooterOKCancelButtons( this::maybeOk, this::close)); modal.addHideHandler(evt -> presenter.onClose()); formContent.add(formRenderer); }
@Override public void show() { modal = new BaseModal(); modal.setTitle( translationService.getTranslation( GlobalsEditorConstants.AddGlobalPopupTitle ) ); modal.setBody( ElementWrapperWidget.getWidget( view ) ); modal.show(); }
@Override public void show() { modal = new BaseModal(); modal.setTitle( translationService.getTranslation( GlobalsEditorConstants.AddGlobalPopupTitle ) ); modal.setBody( ElementWrapperWidget.getWidget( view ) ); modal.show(); }
@PostConstruct public void init() { modal = new BaseModal(); modal.setTitle(translationService.getTranslation(FormEditorConstants.ErrorMessageDisplayerViewImplTitle)); modal.setClosable(false); modal.setBody(ElementWrapperWidget.getWidget(this.getElement())); modal.add(new ModalFooterOKButton(modal::hide)); modal.addHideHandler(evt -> presenter.notifyClose()); }
@Override public void init( final CopyPopupPresenter presenter ) { this.presenter = presenter; templateName.addChangeHandler( new ChangeHandler() { @Override public void onChange( ChangeEvent event ) { if ( !templateName.getText().trim().isEmpty() ) { StyleHelper.addUniqueEnumStyleName( templateNameGroup, ValidationState.class, ValidationState.NONE ); templateNameHelp.setVisible( false ); } } } ); this.modal.setTitle( getCopyServerTemplatePopupTitle() ); this.modal.setBody( this ); this.templateNameLabel.setText( getTemplateNameLabelText() ); this.modal.add( new ModalFooterOKCancelButtons( new Command() { @Override public void execute() { presenter.save(); } }, new Command() { @Override public void execute() { hide(); } } ) ); }
@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(); }
this.modal.setTitle( translationService.getTranslation( DataSourceManagementConstants.DataSourceSelector_Title ) ); this.modal.setBody( this ); this.modal.addHiddenHandler( new ModalHiddenHandler() { @Override