alignPanel.RefreshPanels();\r
}\r
\r
+ public void secondaryStructure_actionPerformed(ActionEvent evt)\r
+ {\r
+ alignPanel.setSecondaryStructureVisible(secondaryStructure.isSelected());\r
+ }\r
\r
public void consensusGraphMenuItem_actionPerformed(ActionEvent e)\r
{\r
\r
public void overviewMenuItem_actionPerformed(ActionEvent e)\r
{\r
+ if (alignPanel.overviewPanel != null)\r
+ return;\r
\r
JInternalFrame frame = new JInternalFrame();\r
OverviewPanel overview = alignPanel.getOverviewPanel();\r
else if(conservationMenuItem.isSelected())\r
conservationMenuItem_actionPerformed(null);\r
\r
- alignPanel.seqPanel.seqCanvas.paintFlag = true;\r
- alignPanel.repaint();\r
+\r
+ alignPanel.RefreshPanels();\r
}\r
\r
void addConservationOrPIDColour()\r
scs.setThreshold(threshold);\r
}\r
\r
- alignPanel.seqPanel.seqCanvas.paintFlag = true;\r
- alignPanel.repaint();\r
\r
}\r
\r
\r
\r
\r
+\r
public void clustalAlignMenuItem_actionPerformed(ActionEvent e)\r
{\r
// JBPNote\r
// Should check to see if the server settings are valid\r
// Need visual-delay indication here.\r
- Jemboss jemboss = new Jemboss();\r
+ jalview.ws.Jemboss jemboss = new jalview.ws.Jemboss();\r
\r
Vector sv = viewport.getAlignment().getSequences();\r
SequenceI[] seqs = new SequenceI[sv.size()];\r
if (alignment != null)\r
{\r
AlignFrame af = new AlignFrame(new Alignment(alignment));\r
- Desktop.addInternalFrame(af, getTitle().concat(" - ClustalW Alignment"), \r
+ Desktop.addInternalFrame(af, getTitle().concat(" - ClustalW Alignment"),\r
700, 500); // JBPNote - is there a new window geom. property ?\r
}\r
}\r
\r
+\r
public void pdbTest_actionPerformed(ActionEvent e)\r
{\r
- String reply = \r
- JOptionPane.showInternalInputDialog(this, "Enter pdb code", \r
+ String reply =\r
+ JOptionPane.showInternalInputDialog(this, "Enter pdb code",\r
"PDB test viewer", JOptionPane.QUESTION_MESSAGE);\r
\r
String url = "http://www.ebi.ac.uk/cgi-bin/pdbfetch?id=1a4u";\r