- antiAlias = Cache.getDefault("ANTI_ALIAS", false);
-
- viewStyle.setShowJVSuffix(Cache.getDefault("SHOW_JVSUFFIX", true));
- setShowAnnotation(Cache.getDefault("SHOW_ANNOTATIONS", true));
-
- setRightAlignIds(Cache.getDefault("RIGHT_ALIGN_IDS", false));
- setCentreColumnLabels(Cache.getDefault("CENTRE_COLUMN_LABELS", false));
- autoCalculateConsensus = Cache.getDefault("AUTO_CALC_CONSENSUS", true);
-
- setPadGaps(Cache.getDefault("PAD_GAPS", true));
- setShowNPFeats(Cache.getDefault("SHOW_NPFEATS_TOOLTIP", true));
- setShowDBRefs(Cache.getDefault("SHOW_DBREFS_TOOLTIP", true));
- viewStyle.setSeqNameItalics(Cache.getDefault("ID_ITALICS", true));
- viewStyle.setWrapAlignment(Cache.getDefault("WRAP_ALIGNMENT", false));
- viewStyle.setShowUnconserved(Cache
- .getDefault("SHOW_UNCONSERVED", false));
- sortByTree = Cache.getDefault("SORT_BY_TREE", false);
- followSelection = Cache.getDefault("FOLLOW_SELECTIONS", true);
- sortAnnotationsBy = SequenceAnnotationOrder.valueOf(Cache.getDefault(
- Preferences.SORT_ANNOTATIONS,
- SequenceAnnotationOrder.NONE.name()));
- showAutocalculatedAbove = Cache.getDefault(
- Preferences.SHOW_AUTOCALC_ABOVE, false);
- viewStyle.setScaleProteinAsCdna(Cache.getDefault(
- Preferences.SCALE_PROTEIN_TO_CDNA, true));
+ // BH! using final static strings here because we also use these in
+ // JS version startup api
+ // BH was false
+ antiAlias = Cache.getDefault(Preferences.ANTI_ALIAS, true);
+
+ viewStyle.setShowJVSuffix(
+ Cache.getDefault(Preferences.SHOW_JVSUFFIX, true));
+ setShowAnnotation(Cache.getDefault(Preferences.SHOW_ANNOTATIONS, true));
+
+ setRightAlignIds(Cache.getDefault(Preferences.RIGHT_ALIGN_IDS, false));
+ setCentreColumnLabels(Cache.getDefault(Preferences.CENTRE_COLUMN_LABELS, false));
+ autoCalculateConsensusAndConservation = Cache.getDefault(Preferences.AUTO_CALC_CONSENSUS, true);
+
+ setPadGaps(Cache.getDefault(Preferences.PAD_GAPS, true));
+ setShowNPFeats(Cache.getDefault(Preferences.SHOW_NPFEATS_TOOLTIP, true));
+ setShowDBRefs(Cache.getDefault(Preferences.SHOW_DBREFS_TOOLTIP, true));
+ viewStyle.setSeqNameItalics(Cache.getDefault(Preferences.ID_ITALICS, true));
+ viewStyle.setWrapAlignment(
+ Cache.getDefault(Preferences.WRAP_ALIGNMENT, false));
+ viewStyle.setShowUnconserved(
+ Cache.getDefault(Preferences.SHOW_UNCONSERVED, false));
+ sortByTree = Cache.getDefault(Preferences.SORT_BY_TREE, false);
+ followSelection = Cache.getDefault(Preferences.FOLLOW_SELECTIONS, true);
+ sortAnnotationsBy = SequenceAnnotationOrder
+ .valueOf(Cache.getDefault(Preferences.SORT_ANNOTATIONS,
+ SequenceAnnotationOrder.NONE.name()));
+ showAutocalculatedAbove = Cache
+ .getDefault(Preferences.SHOW_AUTOCALC_ABOVE, false);
+ viewStyle.setScaleProteinAsCdna(
+ Cache.getDefault(Preferences.SCALE_PROTEIN_TO_CDNA, true));