}
}
@Override
public void update(Observable o, Object arg) {
Document document = (Document)o;
if (document.getQueryGenome() != null && document.getSubjectGenome() != null) {
if (this.type == SNP.INSERTION) {
SNPList inSnpList = document.getQueryGenome().getInSNPList(document.getSubjectGenome());
if (inSnpList != null) {
this.snpList = inSnpList;
tableControl.setSnpList(snpList);
accept(inSnpList);
}
} else {
SNPList delSnpList = document.getQueryGenome().getDelSNPList(document.getSubjectGenome());
if (delSnpList != null) {
this.snpList = delSnpList;
tableControl.setSnpList(snpList);
accept(delSnpList);
}