JAL-3518 pull up closeViewer() and external viewer process monitor
[jalview.git] / src / jalview / ext / rbvi / chimera / ChimeraXCommands.java
index 9da1738..889b1bc 100644 (file)
@@ -223,4 +223,11 @@ public class ChimeraXCommands extends ChimeraCommands
     // this version of the command has no dependency on file extension
     return new StructureCommand("open " + filepath + " format session");
   }
+
+  @Override
+  public StructureCommandI closeViewer()
+  {
+    // https://www.cgl.ucsf.edu/chimerax/docs/user/commands/exit.html
+    return new StructureCommand("exit");
+  }
 }