+
+ @Override
+ public StructureCommandI showStructures(AtomSpecModel restrictTo)
+ {
+ if (restrictTo == null)
+ {
+ return new StructureCommand("display *; cartoon only");
+ }
+ String atomSpec = getAtomSpec(restrictTo, false);
+ String cmd = "display " + atomSpec + "; select displayed; cartoon only";
+ return new StructureCommand(cmd);
+ }
+
+ @Override
+ public StructureCommandI hideChain(String modelId, String chainId)
+ {
+ return new StructureCommand("hide add :" + chainId + "/" + modelId);
+ }
+
+ @Override
+ public StructureCommandI hideAll()
+ {
+ return new StructureCommand("hide *");
+ }