- * this approach isn't working yet
- // get default annotations before opening AlignFrame
- if (m.get(Arg.SSANNOTATION) != null)
- {
- Console.debug("***** SSANNOTATION="
- + m.get(Arg.SSANNOTATION).getBoolean());
- }
- if (m.get(Arg.NOTEMPFAC) != null)
- {
- Console.debug(
- "***** NOTEMPFAC=" + m.get(Arg.NOTEMPFAC).getBoolean());
- }
- boolean showSecondaryStructure = (m.get(Arg.SSANNOTATION) != null)
- ? m.get(Arg.SSANNOTATION).getBoolean()
- : false;
- boolean showTemperatureFactor = (m.get(Arg.NOTEMPFAC) != null)
- ? !m.get(Arg.NOTEMPFAC).getBoolean()
- : false;
- Console.debug("***** tempfac=" + showTemperatureFactor
- + ", showSS=" + showSecondaryStructure);
- StructureSelectionManager ssm = StructureSelectionManager
- .getStructureSelectionManager(Desktop.instance);
- if (ssm != null)
- {
- ssm.setAddTempFacAnnot(showTemperatureFactor);
- ssm.setProcessSecondaryStructure(showSecondaryStructure);
- }
+ * this approach isn't working yet // get default annotations before opening
+ * AlignFrame if (m.get(Arg.SSANNOTATION) != null) {
+ * Console.debug("##### SSANNOTATION=" + m.get(Arg.SSANNOTATION).getBoolean());
+ * } if (m.get(Arg.NOTEMPFAC) != null) { Console.debug( "##### NOTEMPFAC=" +
+ * m.get(Arg.NOTEMPFAC).getBoolean()); } boolean showSecondaryStructure =
+ * (m.get(Arg.SSANNOTATION) != null) ? m.get(Arg.SSANNOTATION).getBoolean() :
+ * false; boolean showTemperatureFactor = (m.get(Arg.NOTEMPFAC) != null) ?
+ * !m.get(Arg.NOTEMPFAC).getBoolean() : false; Console.debug("##### tempfac=" +
+ * showTemperatureFactor + ", showSS=" + showSecondaryStructure);
+ * StructureSelectionManager ssm = StructureSelectionManager
+ * .getStructureSelectionManager(Desktop.instance); if (ssm != null) {
+ * ssm.setAddTempFacAnnot(showTemperatureFactor);
+ * ssm.setProcessSecondaryStructure(showSecondaryStructure); }