JAL-4265 Change to use JmolCommands
[jalview.git] / src / jalview / ext / jmol / JmolCommands.java
index 19d64f0..e621ba5 100644 (file)
@@ -500,4 +500,14 @@ public class JmolCommands extends StructureCommandsBase
   {
     return null; // not an external viewer
   }
+
+  public StructureCommandI saveState(String label)
+  {
+    return new StructureCommand("save STATE " + label);
+  }
+
+  public StructureCommandI restoreState(String label)
+  {
+    return new StructureCommand("restore STATE " + label);
+  }
 }