3 import jalview.datamodel.PDBEntry;
4 import jalview.datamodel.SequenceI;
5 import jalview.gui.StructureViewer.ViewerType;
8 * A class for the gui frame through which Jalview interacts with the ChimeraX
9 * structure viewer. Mostly the same as ChimeraViewFrame with a few overrides
10 * for the differences.
15 public class ChimeraXViewFrame extends ChimeraViewFrame
18 public ChimeraXViewFrame(PDBEntry pdb, SequenceI[] seqsForPdb,
19 String[] chains, AlignmentPanel ap)
21 super(pdb, seqsForPdb, chains, ap);
24 public ChimeraXViewFrame(PDBEntry[] pdbsForFile, boolean superposeAdded,
25 SequenceI[][] theSeqs, AlignmentPanel ap)
27 super(pdbsForFile, superposeAdded, theSeqs, ap);
31 public ViewerType getViewerType()
33 return ViewerType.CHIMERAX;
37 protected String getViewerName()
43 protected JalviewChimeraBindingModel newBindingModel(AlignmentPanel ap,
44 PDBEntry[] pdbentrys, SequenceI[][] seqs)
46 return new JalviewChimeraXBindingModel(this,
47 ap.getStructureSelectionManager(), pdbentrys, seqs, null);
51 protected void initMenus()
55 viewerActionMenu.setText("ChimeraX");