git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3390 unit tests and command and menu refinements
[jalview.git]
/
src
/
jalview
/
ext
/
rbvi
/
chimera
/
ChimeraXCommands.java
diff --git
a/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java
b/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java
index
8a4a299
..
dee6e49
100644
(file)
--- a/
src/jalview/ext/rbvi/chimera/ChimeraXCommands.java
+++ b/
src/jalview/ext/rbvi/chimera/ChimeraXCommands.java
@@
-27,7
+27,6
@@
import java.util.List;
import jalview.structure.AtomSpecModel;
import jalview.structure.StructureCommand;
import jalview.structure.StructureCommandI;
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
/**
* 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");
}
// 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);
+ }
}
}