X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fjmol%2FJmolCommands.java;fp=src%2Fjalview%2Fext%2Fjmol%2FJmolCommands.java;h=e621ba5262072455a903da47f34129eb74599646;hb=82fb94d50a9add200efe5e89214051ce59b42f6c;hp=19d64f0864e1ec0fdf58470ab46c503bd3e62d51;hpb=d79e3747b8ce78b1ac7aa83402e31b7e5dccfe1b;p=jalview.git diff --git a/src/jalview/ext/jmol/JmolCommands.java b/src/jalview/ext/jmol/JmolCommands.java index 19d64f0..e621ba5 100644 --- a/src/jalview/ext/jmol/JmolCommands.java +++ b/src/jalview/ext/jmol/JmolCommands.java @@ -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); + } }