@Override public void setTitle(String title) { modal.setTitle(title); }
@Override public void show(final String title) { this.modal.setTitle(title); modal.show(); }
@Override public void show(final String title) { this.modal.setTitle(title); modal.show(); }
@Override public ChangePassword.View show(final String username) { modal.setTitle(username); showModal(); return this; }
@Override public ChangePassword.View show(final String username) { modal.setTitle(username); showModal(); return this; }
public CommonModalBuilder addHeader(String title) { this.getModal().setTitle(title); return this; }
public CommonModalBuilder addHeader(String title) { this.getModal().setTitle(title); return this; }
@PostConstruct void init() { this.modal.setTitle(getSelectDocumentViewTitle()); this.modal.setBody(this); this.modal.add(footer); this.modal.addHiddenHandler((e) -> onHidden()); }
@Override public void alert( final String title, final String message ) { this.modal.setTitle( title ); this.alertMessage.setInnerHTML( getSafeHtml( message ).asString() ); modal.show(); }
@PostConstruct public void init() { modal = new BaseModal(); modal.setTitle(translationService.getTranslation(FormEditorConstants.ChangesNotificationDisplayerTitle)); modal.setBody(ElementWrapperWidget.getWidget(this.getElement())); modal.add(footer); }
@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(); }
@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 render(FieldPropertiesRendererHelper helper, FormEditorRenderingContext renderingContext, DataBindingEditor bindingEditor) { this.helper = helper; formRenderer.render(renderingContext); initFieldTypeList(); fieldBinding.clear(); fieldBinding.add(ElementWrapperWidget.getWidget(bindingEditor.getElement())); modal.setTitle(translationService.getTranslation(FormEditorConstants.FieldPropertiesRendererViewImplTitle)); }
@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(); }
@Override public void show() { nameInput.setValue(""); nameErrorLabel.setTextContent(""); formDiv.setClassName("form-group"); fluidOption.setSelected(true); pageOption.setSelected(false); nameLabel.setTextContent(i18n.newPerspectivePopUpViewName()); nameHelp.setTitle(i18n.newPerspectivePopUpViewNameHelp()); styleLabel.setTextContent(i18n.newPerspectivePopUpViewStyle()); styleHelp.setTitle(i18n.newPerspectivePopUpViewStyleHelp()); okButton.setTextContent(i18n.newPerspectivePopUpViewOk()); cancelButton.setTextContent(i18n.newPerspectivePopUpViewCancel()); fluidOption.setTextContent(i18n.newPerspectivePopUpViewFluid()); pageOption.setTextContent(i18n.newPerspectivePopUpViewPage()); modal.setTitle(i18n.newPerspectivePopUpViewTitle()); modal.show(); nameInput.focus(); }
@Override public void show() { nameInput.setValue(""); nameErrorLabel.setTextContent(""); formDiv.setClassName("form-group"); fluidOption.setSelected(true); pageOption.setSelected(false); nameLabel.setTextContent(i18n.newPerspectivePopUpViewName()); nameHelp.setTitle(i18n.newPerspectivePopUpViewNameHelp()); styleLabel.setTextContent(i18n.newPerspectivePopUpViewStyle()); styleHelp.setTitle(i18n.newPerspectivePopUpViewStyleHelp()); okButton.setTextContent(i18n.newPerspectivePopUpViewOk()); cancelButton.setTextContent(i18n.newPerspectivePopUpViewCancel()); fluidOption.setTextContent(i18n.newPerspectivePopUpViewFluid()); pageOption.setTextContent(i18n.newPerspectivePopUpViewPage()); modal.setTitle(i18n.newPerspectivePopUpViewTitle()); modal.show(); nameInput.focus(); }