@Override public void setYesButtonText( final String text ) { yesButton.setTextContent( text ); }
@Override public void setCancelButtonText( final String text ) { cancelButton.setTextContent( text ); }
@Override public void setValue(String value) { item.setTextContent(value); // setTitle to make the whole value visible on mouse over when selector width is restricted and value is trimmed item.setTitle(value); }
@Override public void setValue(String value) { item.setTextContent(value); // setTitle to make the whole value visible on mouse over when selector width is restricted and value is trimmed item.setTitle(value); }
@Override public void init(NavTreeEditor presenter) { this.presenter = presenter; alertMessage.setTextContent(i18n.saveChanges()); saveButton.setTextContent(i18n.save()); cancelButton.setTextContent(i18n.cancel()); }
@Override public void init(NavTreeEditor presenter) { this.presenter = presenter; alertMessage.setTextContent(i18n.saveChanges()); saveButton.setTextContent(i18n.save()); cancelButton.setTextContent(i18n.cancel()); }
@Override public void init(OrganizationalUnitsScreen presenter) { this.presenter = presenter; createOrganizationalUnit.setTextContent(ts.format(LibraryConstants.CreateOrganizationalUnit, translationUtils.getOrganizationalUnitAliasInSingular())); title.setTextContent(translationUtils.getOrganizationalUnitAliasInPlural()); }
@Override public void init(final EmptyOrganizationalUnitsScreen presenter) { this.presenter = presenter; noOrganizationalUnits.setTextContent(ts.format(LibraryConstants.NoOrganizationalUnits, translationUtils.getOrganizationalUnitAliasInPlural().toLowerCase(), translationUtils.getOrganizationalUnitAliasInSingular().toLowerCase())); createOrganizationalUnit.setTextContent(ts.format(LibraryConstants.CreateOrganizationalUnit, translationUtils.getOrganizationalUnitAliasInSingular())); final boolean userCanCreateOrganizationalUnits = presenter.userCanCreateOrganizationalUnits(); createOrganizationalUnit.setHidden(!userCanCreateOrganizationalUnits); }
@PostConstruct public void init() { refine.setTextContent(constants.FilterBy()); filtersInputHelp.setAttribute("data-content", getInputStringHelpHtml()); jQueryPopover.wrap(filtersInputHelp).popover(); refineSelect.getElement().addEventListener("change", e -> setInputCurrentFilter(refineSelect.getValue()), false); refineApply.setTextContent(constants.Apply()); }
@Override public void init(ContentManagerHomeScreen presenter) { this.presenter = presenter; titleSpan.setTextContent(i18n.getContentManagerHomeTitle()); welcomeSpan.setTextContent(i18n.getContentManagerHomeWelcome()); createSpan.setTextContent(i18n.getContentManagerHomeCreate()); createPerspectiveAnchor.setTextContent(i18n.getContentManagerHomeNewPerspectiveLink()); createPerspectiveButton.setTextContent(i18n.getContentManagerHomeNewPerspectiveButton()); }
@Override public void init(ContentManagerHomeScreen presenter) { this.presenter = presenter; titleSpan.setTextContent(i18n.getContentManagerHomeTitle()); welcomeSpan.setTextContent(i18n.getContentManagerHomeWelcome()); createSpan.setTextContent(i18n.getContentManagerHomeCreate()); createPerspectiveAnchor.setTextContent(i18n.getContentManagerHomeNewPerspectiveLink()); createPerspectiveButton.setTextContent(i18n.getContentManagerHomeNewPerspectiveButton()); }
@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(); }