public AppletPDBCanvas(PDBEntry pdbentry,
SequenceI[] seq,
+ String [] chains,
AlignmentPanel ap,
String protocol)
ssm = StructureSelectionManager.getStructureSelectionManager();
try{
- pdb = ssm.setMapping(seq, pdbentry.getFile(), protocol);
+ pdb = ssm.setMapping(seq, chains, pdbentry.getFile(), protocol);
if(protocol.equals(jalview.io.AppletFormatAdapter.PASTE))
pdbentry.setFile("INLINE"+pdb.id);
\r
public AppletPDBViewer(PDBEntry pdbentry,\r
SequenceI[] seq,\r
+ String [] chains,\r
AlignmentPanel ap,\r
String protocol)\r
{\r
ex.printStackTrace();\r
}\r
\r
- pdbcanvas = new AppletPDBCanvas(pdbentry, seq, ap, protocol);\r
+ pdbcanvas = new AppletPDBCanvas(pdbentry, seq, chains, ap, protocol);\r
\r
\r
add(pdbcanvas, BorderLayout.CENTER);\r