followSelections flag now set via user preferences, and disabled for 2.5.1 * JAL...
authorjprocter <Jim Procter>
Tue, 8 Jun 2010 14:48:29 +0000 (14:48 +0000)
committerjprocter <Jim Procter>
Tue, 8 Jun 2010 14:48:29 +0000 (14:48 +0000)
src/jalview/bin/Cache.java
src/jalview/gui/AlignViewport.java

index 5688ae1..1481666 100755 (executable)
@@ -124,6 +124,8 @@ import org.biojava.dasobert.dasregistry.Das1Source;
  * histogram.</li>
  * <li>SHOW_CONSENSUS_LOGO (false) Show consensus annotation row's sequence
  * logo.</li>
+ * <li>FOLLOW_SELECTIONS (true) Controls whether a new alignment view should
+ * respond to selections made in other alignments containing the same sequences.</li>
  * 
  * <li></li>
  * 
index 0cbbdb4..2791ffc 100755 (executable)
@@ -433,6 +433,7 @@ public class AlignViewport implements SelectionSource
     showUnconserved = jalview.bin.Cache.getDefault("SHOW_UNCONSERVED",
             false);
     sortByTree = jalview.bin.Cache.getDefault("SORT_BY_TREE", false);
+    followSelection = jalview.bin.Cache.getDefault("FOLLOW_SELECTIONS", true); 
   }
 
   /**