showTranslation.setVisible(nucleotide);
conservationMenuItem.setEnabled(!nucleotide);
modifyConservation.setEnabled(!nucleotide);
-
+ showGroupConservation.setEnabled(!nucleotide);
// Remember AlignFrame always starts as protein
if (!nucleotide)
{
showUnconservedMenuItem.setSelected(av.showUnconserved);
showGroupConsensus.setSelected(av.showGroupConsensus);
showGroupConservation.setSelected(av.showGroupConservation);
+ showConsensusHistogram.setSelected(av.showConsensusHistogram);
+ showConsensusProfile.setSelected(av.showConsensusProfile);
setColourSelected(ColourSchemeProperty.getColourName(av
.getGlobalColourScheme()));
.getServiceClient(sh);
impl.attachWSMenuEntry(seqsrchmenu, this);
}
- // finally, add the whole shebang onto the webservices menu
wsmenu.add(seqsrchmenu);
}
+ // finally, add the whole shebang onto the webservices menu
resetWebServiceMenu();
for (int i = 0, j = wsmenu.size(); i < j; i++)
{
{
webService.removeAll();
build_fetchdbmenu(webService);
+ build_urlServiceMenu(webService);
+ }
+
+ /**
+ * construct any groupURL type service menu entries.
+ * @param webService
+ */
+ private void build_urlServiceMenu(JMenu webService)
+ {
+ jalview.ws.EnfinEnvision2OneWay.getInstance().attachWSMenuEntry(webService, this);
}
/*
protected void showGroupConsensus_actionPerformed(ActionEvent e)
{
viewport.setShowGroupConsensus(showGroupConsensus.getState());
- alignPanel.updateAnnotation();
+ alignPanel.updateAnnotation(applyAutoAnnotationSettings.getState());
}
protected void showGroupConservation_actionPerformed(ActionEvent e)
{
viewport.setShowGroupConservation(showGroupConservation.getState());
- alignPanel.updateAnnotation();
+ alignPanel.updateAnnotation(applyAutoAnnotationSettings.getState());
+ }
+
+ /* (non-Javadoc)
+ * @see jalview.jbgui.GAlignFrame#showConsensusHistogram_actionPerformed(java.awt.event.ActionEvent)
+ */
+ protected void showConsensusHistogram_actionPerformed(ActionEvent e)
+ {
+ viewport.setShowConsensusHistogram(showConsensusHistogram.getState());
+ alignPanel.updateAnnotation(applyAutoAnnotationSettings.getState());
+ }
+
+ /* (non-Javadoc)
+ * @see jalview.jbgui.GAlignFrame#showConsensusProfile_actionPerformed(java.awt.event.ActionEvent)
+ */
+ protected void showConsensusProfile_actionPerformed(ActionEvent e)
+ {
+ viewport.setShowConsensusProfile(showConsensusProfile.getState());
+ alignPanel.updateAnnotation(applyAutoAnnotationSettings.getState());
+ }
+ protected void applyAutoAnnotationSettings_actionPerformed(ActionEvent e)
+ {
+ alignPanel.updateAnnotation(applyAutoAnnotationSettings.getState());
}
/*