JAL-4366 JAL-728 simple hack to use 3di matrix when gecos-3di is enabled
[jalview.git] / src / jalview / structure / StructureCommandsI.java
index 2b3502d..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
@@ -246,7 +256,8 @@ public interface StructureCommandsI
 
   List<StructureCommandI> centerViewOn(List<AtomSpecModel> residues);
 
-  StructureCommandI saveState(String label);
-
-  StructureCommandI restoreState(String label);
+  default List<StructureCommandI> showHetatms(List<String> toShow)
+  {
+    return Collections.EMPTY_LIST;
+  }
 }