Merge branch 'develop' into features/JAL-518_justify_seqs_in_region
[jalview.git] / src / jalview / structure / StructureCommandsI.java
index c8c8070..fc8b828 100644 (file)
@@ -21,6 +21,7 @@
 package jalview.structure;
 
 import java.awt.Color;
+import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
@@ -195,6 +196,15 @@ public interface StructureCommandsI
   StructureCommandI openSession(String filepath);
 
   /**
+   * Returns command to restore a previously saved version of an existing
+   * structure viewer session file. Default implementation calls 'openSession'
+   * 
+   * @param filePath
+   * @return
+   */
+  StructureCommandI restoreSession(String filePath);
+
+  /**
    * Returns a command to ask the viewer to close down
    * 
    * @return
@@ -243,4 +253,11 @@ public interface StructureCommandsI
    * @return
    */
   StructureCommandI getResidueAttributes(String attName);
+
+  List<StructureCommandI> centerViewOn(List<AtomSpecModel> residues);
+
+  default List<StructureCommandI> showHetatms(List<String> toShow)
+  {
+    return Collections.EMPTY_LIST;
+  }
 }