1 package jalview.structure;
3 import jalview.ext.jmol.JmolCommands;
4 import jalview.ext.rbvi.chimera.ChimeraCommands;
5 import jalview.ext.rbvi.chimera.ChimeraXCommands;
6 import jalview.gui.StructureViewer.ViewerType;
9 * A factory that serves a class that can generate structure commands for a
10 * specified structure viewer
12 public class StructureCommandsFactory
14 public StructureCommandsI getStructureCommands(ViewerType viewer)
16 StructureCommandsI commands = null;
20 commands = new JmolCommands();
23 commands = new ChimeraCommands();
26 commands = new ChimeraXCommands();