Merge branch 'hardcode'
authorMorellThomas <morellth@yahoo.co.jp>
Thu, 7 Sep 2023 08:17:49 +0000 (10:17 +0200)
committerMorellThomas <morellth@yahoo.co.jp>
Thu, 7 Sep 2023 08:17:49 +0000 (10:17 +0200)
1  2 
resources/lang/Messages.properties
resources/lang/Messages_es.properties
src/jalview/analysis/AlignSeq.java
src/jalview/gui/CalculationChooser.java
src/jalview/viewmodel/AlignmentViewport.java

Simple merge
Simple merge
Simple merge
   */
  package jalview.gui;
  
+ import jalview.analysis.TreeBuilder;
+ import jalview.analysis.scoremodels.ScoreModels;
+ import jalview.analysis.scoremodels.SimilarityParams;
+ import jalview.api.analysis.ScoreModelI;
+ import jalview.api.analysis.SimilarityParamsI;
+ import jalview.bin.Cache;
+ import jalview.datamodel.SequenceGroup;
+ import jalview.util.MessageManager;
+ import jalview.viewmodel.AlignmentViewport;
 -
  import java.awt.BorderLayout;
  import java.awt.Color;
  import java.awt.Component;
   */
  package jalview.viewmodel;
  
 +import java.awt.Color;
 +import java.beans.PropertyChangeSupport;
 +import java.util.ArrayDeque;
 +import java.util.ArrayList;
 +import java.util.BitSet;
 +import java.util.Deque;
 +import java.util.HashMap;
 +import java.util.Hashtable;
 +import java.util.Iterator;
 +import java.util.List;
 +import java.util.Map;
 +
  import jalview.analysis.AnnotationSorter.SequenceAnnotationOrder;
+ import jalview.analysis.Connectivity;
  import jalview.analysis.Conservation;
  import jalview.analysis.TreeModel;
  import jalview.api.AlignCalcManagerI;
@@@ -3122,23 -3098,8 +3123,28 @@@ public abstract class AlignmentViewpor
              false));
    }
  
 +  public void setSavedUpToDate(boolean s)
 +  {
 +    setSavedUpToDate(s, QuitHandler.Message.UNSAVED_CHANGES);
 +  }
 +
 +  public void setSavedUpToDate(boolean s, QuitHandler.Message m)
 +  {
 +    Console.debug(
 +            "Setting " + this.getViewId() + " setSavedUpToDate to " + s);
 +    savedUpToDate = s;
 +    QuitHandler.setMessage(m);
 +  }
 +
 +  public boolean savedUpToDate()
 +  {
 +    Console.debug("Returning " + this.getViewId() + " savedUpToDate value: "
 +            + savedUpToDate);
 +    return savedUpToDate;
 +  }
++
+   public Hashtable<SequenceI, Integer> calculateConnectivity(float[][] scores, byte dim)
+   {
+     return Connectivity.getConnectivity(this, scores, dim);
+   }
  }