JAL-4265 JAL-4267 added a ‘restoreSession’ StructureViewer.getBinding() method that...
[jalview.git] / src / jalview / structure / StructureCommandsI.java
index 575f256..b1e1486 100644 (file)
@@ -193,6 +193,15 @@ public interface StructureCommandsI
    * @return
    */
   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