import jalview.datamodel.*;
import jalview.schemes.*;
import jalview.structure.SelectionSource;
+import jalview.structure.VamsasSource;
-public class AlignViewport implements SelectionSource
+public class AlignViewport implements SelectionSource, VamsasSource
{
int startRes;
boolean ignoreGapsInConsensusCalculation = false;
- jalview.bin.JalviewLite applet;
+ public jalview.bin.JalviewLite applet;
Hashtable sequenceColours;
{
sortByTree = Boolean.valueOf(param).booleanValue();
}
-
+ param = applet.getParameter("automaticScrolling");
+ if (param!=null) {
+ followHighlight = Boolean.valueOf(param).booleanValue();
+ followSelection = followHighlight;
+ }
}
if (applet != null)