import jalview.analysis.NJTree;
import jalview.api.AlignViewportI;
import jalview.bin.Cache;
+import jalview.commands.CommandI;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Annotation;
* Keys are the feature types which are currently visible. Note: Values are
* not used!
*/
- Hashtable featuresDisplayed = null;
+ private Hashtable featuresDisplayed = null;
boolean antiAlias = false;
boolean gatherViewsHere = false;
- Stack historyList = new Stack();
+ Stack<CommandI> historyList = new Stack<CommandI>();
- Stack redoList = new Stack();
+ Stack<CommandI> redoList = new Stack<CommandI>();
int thresholdTextColour = 0;
sortByTree = Cache.getDefault("SORT_BY_TREE", false);
followSelection = Cache.getDefault("FOLLOW_SELECTIONS", true);
sortAnnotationsBy = SequenceAnnotationOrder.valueOf(Cache.getDefault(
- "SORT_ANNOTATIONS", SequenceAnnotationOrder.NONE.name()));
- showAutocalculatedAbove = Cache
- .getDefault("SHOW_AUTOCALC_ABOVE", false);
+ Preferences.SORT_ANNOTATIONS,
+ SequenceAnnotationOrder.NONE.name()));
+ showAutocalculatedAbove = Cache.getDefault(
+ Preferences.SHOW_AUTOCALC_ABOVE, false);
}
/**
}
}
+
+ public Hashtable getFeaturesDisplayed()
+ {
+ return featuresDisplayed;
+ }
+
+ public void setFeaturesDisplayed(Hashtable featuresDisplayed)
+ {
+ this.featuresDisplayed = featuresDisplayed;
+ }
protected SequenceAnnotationOrder getSortAnnotationsBy()
{
return sortAnnotationsBy;