Exemplo n.º 1
0
  public void loadOrganismInfo(OrganismInfo organismInfo) {
    if (organismInfo == null) {
      setNoSelection();
      return;
    }
    organismName.setEnabled(true);
    blatdb.setEnabled(true);
    genus.setEnabled(true);
    species.setEnabled(true);

    organismName.setText(organismInfo.getName());
    blatdb.setText(organismInfo.getBlatDb());
    genus.setText(organismInfo.getGenus());
    species.setText(organismInfo.getSpecies());
    sequenceFile.setText(organismInfo.getDirectory());

    deleteButton.setVisible(true);
    sequenceFile.setEnabled(true);
    deleteButton.setEnabled(true);
  }