private void populateDisplayData() {
   display.getSrcRef().setText(selectedDetailEntry.getSourceRef());
   display.setSourceComment(selectedDetailEntry.getSourceComment());
   display.setTargetComment(selectedDetailEntry.getTargetComment());
   display
       .getLastModified()
       .setText(messages.lastModifiedOn(selectedDetailEntry.getLastModified()));
 }
 @Override
 public void buildListBox(List<Locale> locales) {
   sourceLangListBox.clear();
   sourceLangListBox.addItem(messages.chooseRefLang(), Locale.notChosenLocale);
   for (Locale locale : locales) {
     sourceLangListBox.addItem(locale);
   }
   sourceLangListBox.setSelectedIndex(0);
 }
  @Inject
  public ChangeReferenceLangView(final UiMessages messages) {
    this.messages = messages;
    initWidget(uiBinder.createAndBindUi(this));

    descriptionLabel.setText(messages.changeSourceLangDescription());

    sourceLangListBox = new LocaleListBox();
    sourceLangListBox.setStyleName(style.sourceLangListBox());
    sourceLangListBox.addChangeHandler(this);

    flowPanel.add(sourceLangListBox);
  }