JAL-722 updated from 2.11.2 develop branch - needs further work before release
[jalview.git] / src / jalview / datamodel / AlignmentI.java
index f129a4c..4b1220b 100755 (executable)
@@ -20,7 +20,6 @@
  */
 package jalview.datamodel;
 
-import java.util.Hashtable;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
@@ -403,7 +402,7 @@ public interface AlignmentI extends AnnotatedCollectionI
    * 
    * @return hashtable of alignment properties (or null if none are defined)
    */
-  Hashtable getProperties();
+  Map<Object, Object> getProperties();
 
   /**
    * add a reference to a frame of aligned codons for this alignment
@@ -595,11 +594,13 @@ public interface AlignmentI extends AnnotatedCollectionI
   AlignedCodonFrame getMapping(SequenceI mapFrom, SequenceI mapTo);
 
   /**
-   * Set the hidden columns collection on the alignment
+   * Set the hidden columns collection on the alignment. Answers true if the
+   * hidden column selection changed, else false.
    * 
    * @param cols
+   * @return
    */
-  public void setHiddenColumns(HiddenColumns cols);
+  public boolean setHiddenColumns(HiddenColumns cols);
 
   /**
    * Set the first sequence as representative and hide its insertions. Typically