- Cache.applicationProperties.setProperty("SHOW_JVSUFFIX", Boolean
- .toString(seqLimit.isSelected()));
- Cache.applicationProperties.setProperty("RIGHT_ALIGN_IDS", Boolean
- .toString(rightAlign.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_FULLSCREEN", Boolean
- .toString(fullScreen.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_OVERVIEW", Boolean
- .toString(openoverv.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_ANNOTATIONS", Boolean
- .toString(annotations.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_CONSERVATION", Boolean
- .toString(conservation.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_QUALITY", Boolean
- .toString(quality.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_IDENTITY", Boolean
- .toString(identity.isSelected()));
-
- Cache.applicationProperties.setProperty("DEFAULT_COLOUR", colour
- .getSelectedItem().toString());
- Cache.applicationProperties.setProperty("GAP_SYMBOL", gapSymbolCB
- .getSelectedItem().toString());
-
- Cache.applicationProperties.setProperty("FONT_NAME", fontNameCB
- .getSelectedItem().toString());
- Cache.applicationProperties.setProperty("FONT_STYLE", fontStyleCB
- .getSelectedItem().toString());
- Cache.applicationProperties.setProperty("FONT_SIZE", fontSizeCB
- .getSelectedItem().toString());
-
- Cache.applicationProperties.setProperty("ID_ITALICS", Boolean
- .toString(idItalics.isSelected()));
- Cache.applicationProperties.setProperty("SHOW_UNCONSERVED",Boolean.toString(showUnconserved.isSelected()));
- Cache.applicationProperties.setProperty("ANTI_ALIAS", Boolean
- .toString(smoothFont.isSelected()));
-
- Cache.applicationProperties.setProperty("WRAP_ALIGNMENT", Boolean
- .toString(wrap.isSelected()));
+ /*
+ * Save Visual settings
+ */
+ Cache.applicationProperties.setProperty("SHOW_JVSUFFIX",
+ Boolean.toString(seqLimit.isSelected()));
+ Cache.applicationProperties.setProperty("RIGHT_ALIGN_IDS",
+ Boolean.toString(rightAlign.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_FULLSCREEN",
+ Boolean.toString(fullScreen.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_OVERVIEW",
+ Boolean.toString(openoverv.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_ANNOTATIONS",
+ Boolean.toString(annotations.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_CONSERVATION",
+ Boolean.toString(conservation.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_QUALITY",
+ Boolean.toString(quality.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_IDENTITY",
+ Boolean.toString(identity.isSelected()));
+
+ Cache.applicationProperties.setProperty("GAP_SYMBOL",
+ gapSymbolCB.getSelectedItem().toString());
+
+ Cache.applicationProperties.setProperty("FONT_NAME",
+ fontNameCB.getSelectedItem().toString());
+ Cache.applicationProperties.setProperty("FONT_STYLE",
+ fontStyleCB.getSelectedItem().toString());
+ Cache.applicationProperties.setProperty("FONT_SIZE",
+ fontSizeCB.getSelectedItem().toString());
+
+ Cache.applicationProperties.setProperty("ID_ITALICS",
+ Boolean.toString(idItalics.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_UNCONSERVED",
+ Boolean.toString(showUnconserved.isSelected()));
+ Cache.applicationProperties.setProperty(SHOW_OCCUPANCY,
+ Boolean.toString(showOccupancy.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_GROUP_CONSENSUS",
+ Boolean.toString(showGroupConsensus.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_GROUP_CONSERVATION",
+ Boolean.toString(showGroupConservation.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_CONSENSUS_HISTOGRAM",
+ Boolean.toString(showConsensHistogram.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_CONSENSUS_LOGO",
+ Boolean.toString(showConsensLogo.isSelected()));
+ Cache.applicationProperties.setProperty("ANTI_ALIAS",
+ Boolean.toString(smoothFont.isSelected()));
+ Cache.applicationProperties.setProperty(SCALE_PROTEIN_TO_CDNA,
+ Boolean.toString(scaleProteinToCdna.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_NPFEATS_TOOLTIP",
+ Boolean.toString(showNpTooltip.isSelected()));
+ Cache.applicationProperties.setProperty("SHOW_DBREFS_TOOLTIP",
+ Boolean.toString(showDbRefTooltip.isSelected()));
+
+ Cache.applicationProperties.setProperty("WRAP_ALIGNMENT",
+ Boolean.toString(wrap.isSelected()));