JAL-4265 JAL-4267 added a ‘restoreSession’ StructureViewer.getBinding() method that...
[jalview.git] / src / jalview / ext / jmol / JmolCommands.java
index 19d64f0..f9ba1e4 100644 (file)
@@ -316,6 +316,12 @@ public class JmolCommands extends StructureCommandsBase
     return new StructureCommand(
             "load FILES \"" + Platform.escapeBackslashes(file) + "\"");
   }
+  @Override
+  public StructureCommandI restoreSession(String filePath)
+  {
+    return new StructureCommand(
+            "restore STATE \"" + Platform.escapeBackslashes(filePath) + "\"");
+  }
 
   /**
    * Obsolete method, only referenced from