import jalview.datamodel.*;
import jalview.io.*;
import jalview.schemes.*;
+import jalview.structure.StructureSelectionManager;
public class AlignFrame extends EmbmenuFrame implements ActionListener,
ItemListener, KeyListener
alignPanel.idPanel.idCanvas.addKeyListener(this);
alignPanel.scalePanel.addKeyListener(this);
alignPanel.annotationPanel.addKeyListener(this);
+ alignPanel.annotationPanelHolder.addKeyListener(this);
+ alignPanel.annotationSpaceFillerHolder.addKeyListener(this);
+ alignPanel.alabels.addKeyListener(this);
createAlignFrameWindow(embedded, title);
alignPanel.validate();
alignPanel.paintAlignment(true);
return;
}
}
+ if (applet.useXtrnalSviewer)
+ {
+ // register the association(s) and quit, don't create any windows.
+ StructureSelectionManager.getStructureSelectionManager().setMapping(seqs, chains, pdb.getFile(), protocol);
+ return;
+ }
if (applet.isAlignPdbStructures() && applet.jmolAvailable)
{
// can only do alignments with Jmol