@Override
  public void actionPerformed(ActionEvent e) {
    final ComboBoxDialog d =
        new ComboBoxDialog(
            0,
            "Clone Translation",
            "Choose the Language you want to clone",
            owner.getTranslations().toArray(new TLocale[] {}),
            PRE == null ? 0 : owner.getTranslations().indexOf(PRE),
            new AbstractIcon(IconKey.ICON_LANGUAGE, 32),
            null,
            null,
            null);

    int ret;
    try {
      ret = Dialog.getInstance().showDialog(d);

      if (ret >= 0) {
        TLocale sel = owner.getTranslations().get(ret);
        PRE = sel;

        owner.setTranslation(selection, sel);
      }
    } catch (DialogClosedException e1) {
      e1.printStackTrace();
    } catch (DialogCanceledException e1) {
      e1.printStackTrace();
    }
  }
 /**
  * refresh the tablemodel. for example if we load a new language
  *
  * @param extension
  */
 public void refresh(final TranslatorExtension extension) {
   if (extension.getTranslationEntries() != null) {
     _fireTableStructureChanged(extension.getTranslationEntries(), true);
   } else {
     clear();
   }
 }
  public void updateFilter(SearchField searchField) {
    this.filter = searchField.filterPatterns;

    _fireTableStructureChanged(extension.getTranslationEntries(), true);
  }