-
- Cache.applicationProperties.setProperty("BLC_JVSUFFIX", Boolean
- .toString(blcjv.isSelected()));
- Cache.applicationProperties.setProperty("CLUSTAL_JVSUFFIX", Boolean
- .toString(clustaljv.isSelected()));
- Cache.applicationProperties.setProperty("FASTA_JVSUFFIX", Boolean
- .toString(fastajv.isSelected()));
- Cache.applicationProperties.setProperty("MSF_JVSUFFIX", Boolean
- .toString(msfjv.isSelected()));
- Cache.applicationProperties.setProperty("PFAM_JVSUFFIX", Boolean
- .toString(pfamjv.isSelected()));
- Cache.applicationProperties.setProperty("PILEUP_JVSUFFIX", Boolean
- .toString(pileupjv.isSelected()));
- Cache.applicationProperties.setProperty("PIR_JVSUFFIX", Boolean
- .toString(pirjv.isSelected()));
- Cache.applicationProperties.setProperty("PIR_MODELLER", Boolean
- .toString(modellerOutput.isSelected()));
+ Cache.setProperty("VERSION_CHECK",
+ Boolean.toString(versioncheck.isSelected()));
+ if (Cache.getProperty("USAGESTATS") != null || usagestats.isSelected())
+ {
+ // default is false - we only set this if the user has actively agreed
+ Cache.setProperty("USAGESTATS",
+ Boolean.toString(usagestats.isSelected()));
+ }
+ if (!questionnaire.isSelected())
+ {
+ Cache.setProperty("NOQUESTIONNAIRES", "true");
+ }
+ else
+ {
+ // special - made easy to edit a property file to disable questionnaires
+ // by just adding the given line
+ Cache.removeProperty("NOQUESTIONNAIRES");
+ }
+ Cache.applicationProperties.setProperty("BLC_JVSUFFIX",
+ Boolean.toString(blcjv.isSelected()));
+ Cache.applicationProperties.setProperty("CLUSTAL_JVSUFFIX",
+ Boolean.toString(clustaljv.isSelected()));
+ Cache.applicationProperties.setProperty("FASTA_JVSUFFIX",
+ Boolean.toString(fastajv.isSelected()));
+ Cache.applicationProperties.setProperty("MSF_JVSUFFIX",
+ Boolean.toString(msfjv.isSelected()));
+ Cache.applicationProperties.setProperty("PFAM_JVSUFFIX",
+ Boolean.toString(pfamjv.isSelected()));
+ Cache.applicationProperties.setProperty("PILEUP_JVSUFFIX",
+ Boolean.toString(pileupjv.isSelected()));
+ Cache.applicationProperties.setProperty("PIR_JVSUFFIX",
+ Boolean.toString(pirjv.isSelected()));
+ Cache.applicationProperties.setProperty("PIR_MODELLER",
+ Boolean.toString(modellerOutput.isSelected()));