@PostConstruct void setup() { this.modal.setBody( this ); this.modal.add( new ModalFooterOKButton( modal::hide ) ); }
public ModalFooterOKButton(final Command okCommand) { this.okCommand = PortablePreconditions.checkNotNull("okCommand", okCommand); add(uiBinder.createAndBindUi(this)); }
@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); }
public ModalFooterOKButton(final Command okCommand) { this.okCommand = PortablePreconditions.checkNotNull("okCommand", okCommand); add(uiBinder.createAndBindUi(this)); }
private ErrorPopup() { setTitle(CommonConstants.INSTANCE.Error()); setBody(uiBinder.createAndBindUi(ErrorPopup.this)); add(new ModalFooterOKButton(new Command() { @Override public void execute() { hide(); } })); }
private ErrorPopup() { setTitle(CommonConstants.INSTANCE.Error()); setBody(uiBinder.createAndBindUi(ErrorPopup.this)); add(new ModalFooterOKButton(new Command() { @Override public void execute() { hide(); } })); }
public PopupListWidget() { setTitle( DecisionTableXLSEditorConstants.INSTANCE.ConversionResults() ); setWidth( "900px" ); setBody( uiBinder.createAndBindUi( this ) ); add( new ModalFooterOKButton( new Command() { @Override public void execute() { hide(); } } ) ); }
public PopupListWidget() { setTitle( DecisionTableXLSEditorConstants.INSTANCE.ConversionResults() ); setWidth( "900px" ); setBody( uiBinder.createAndBindUi( this ) ); add( new ModalFooterOKButton( new Command() { @Override public void execute() { hide(); } } ) ); }
@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()); }
public JarDetailPopup(final String details) { PatternFlyBootstrapper.ensurePrettifyIsAvailable(); setTitle(M2RepoEditorConstants.INSTANCE.JarDetails()); setHideOtherModals(false); setBody(uiBinder.createAndBindUi(this)); add(new ModalFooterOKButton(new Command() { @Override public void execute() { hide(); } })); this.pom.setHTML(details); addShowHandler(new ModalShowHandler() { @Override public void onShow(ModalShowEvent evt) { initPrettify(); } }); }
public AuditLogViewImpl(final AuditLog auditLog, final User identity) { this.auditLog = auditLog; this.identity = identity; setTitle(GuidedDecisionTableConstants.INSTANCE.DecisionTableAuditLog()); setDataBackdrop(ModalBackdrop.STATIC); setDataKeyboard(true); setFade(true); setRemoveOnHide(true); setWidth(1000 + "px"); setBody(uiBinder.createAndBindUi(AuditLogViewImpl.this)); add(new ModalFooterOKButton(this::hide)); setup(); }
public AuditLogViewImpl(final AuditLog auditLog, final User identity) { this.auditLog = auditLog; this.identity = identity; setTitle(GuidedDecisionTableConstants.INSTANCE.DecisionTableAuditLog()); setDataBackdrop(ModalBackdrop.STATIC); setDataKeyboard(true); setFade(true); setRemoveOnHide(true); setWidth(1000 + "px"); setBody(uiBinder.createAndBindUi(AuditLogViewImpl.this)); add(new ModalFooterOKButton(this::hide)); setup(); }