JAL-3390 unit tests and command and menu refinements
[jalview.git] / src / jalview / ext / rbvi / chimera / ChimeraXCommands.java
index 8a4a299..dee6e49 100644 (file)
@@ -27,7 +27,6 @@ import java.util.List;
 import jalview.structure.AtomSpecModel;
 import jalview.structure.StructureCommand;
 import jalview.structure.StructureCommandI;
-import jalview.util.ColorUtils;
 
 /**
  * Routines for generating ChimeraX commands for Jalview/ChimeraX binding
@@ -212,4 +211,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 hideChain(String modelId, String chainId)
+  {
+    String cmd = "~ribbon #" + modelId + "/" + chainId;
+    return new StructureCommand(cmd);
+  }
 }