JAL-4343 fix insufficient-caffeine error - add whats new for 2.11.3.1
[jalview.git] / src / jalview / structure / StructureCommandsI.java
index 575f256..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
@@ -245,4 +255,9 @@ public interface StructureCommandsI
   StructureCommandI getResidueAttributes(String attName);
 
   List<StructureCommandI> centerViewOn(List<AtomSpecModel> residues);
+
+  default List<StructureCommandI> showHetatms(List<String> toShow)
+  {
+    return Collections.EMPTY_LIST;
+  }
 }