AnnotationDisplaySettingPojo annotSetting = new AnnotationDisplaySettingPojo();
annotSetting.setBelowAlignment(annot.belowAlignment);
annotSetting.setCentreColLabels(annot.centreColLabels);
- annotSetting.setScaleColLabel(annot.centreColLabels);
+ annotSetting.setScaleColLabel(annot.scaleColLabel);
annotSetting.setShowAllColLabels(annot.showAllColLabels);
annotSetting.setVisible(annot.visible);
+ annotSetting.setHasIcon(annot.hasIcons);
alignAnnotPojo.setAnnotationSettings(annotSetting);
SequenceI refSeq = annot.sequenceRef;
if (refSeq != null)
annotationPojo.setValue(annotation.value);
annotationPojo
.setSecondaryStructure(annotation.secondaryStructure);
- annotationPojo.setDisplayCharacter(annotation.displayCharacter);
+ String displayChar = annotation.displayCharacter == null ? null
+ : annotation.displayCharacter;
+ // System.out.println("--------------------->[" + displayChar + "]");
+ annotationPojo.setDisplayCharacter(displayChar);
if (annotation.colour != null)
{
annotationPojo.setColour(jalview.util.Format
alignAnnot.visible = (diplaySettings.get("visible") == null) ? true
: Boolean.valueOf(diplaySettings.get("visible")
.toString());
+ alignAnnot.hasIcons = (diplaySettings.get("hasIcon") == null) ? true
+ : Boolean.valueOf(diplaySettings.get("hasIcon")
+ .toString());
}
if (alAnnot.get("score") != null)
alignAnnot.adjustForAlignment();
}
}
+ // alignAnnot.validateRangeAndDisplay();
this.annotations.add(alignAnnot);
+
}
} catch (Exception e)
{