");
+ webServiceNoServices = new JMenuItem(
+ MessageManager.getString("label.no_services"));
webService.add(webServiceNoServices);
pasteMenu.add(pasteNew);
pasteMenu.add(pasteThis);
@@ -1749,13 +2350,10 @@ public class GAlignFrame extends JInternalFrame
sort.add(sortGroupMenuItem);
sort.add(sortPairwiseMenuItem);
sort.add(sortByTreeMenu);
- calculateTree.add(averageDistanceTreeMenuItem);
- calculateTree.add(neighbourTreeMenuItem);
- calculateTree.add(avDistanceTreeBlosumMenuItem);
- calculateTree.add(njTreeBlosumMenuItem);
jMenu2.add(htmlMenuItem);
jMenu2.add(epsFile);
jMenu2.add(createPNG);
+ jMenu2.add(createSVG);
addSequenceMenu.add(addFromFile);
addSequenceMenu.add(addFromText);
addSequenceMenu.add(addFromURL);
@@ -1769,7 +2367,7 @@ public class GAlignFrame extends JInternalFrame
hideMenu.add(hideSelSequences);
hideMenu.add(hideAllSelection);
hideMenu.add(hideAllButSelection);
-
+
formatMenu.add(font);
formatMenu.addSeparator();
formatMenu.add(wrapMenuItem);
@@ -1784,112 +2382,184 @@ public class GAlignFrame extends JInternalFrame
formatMenu.add(colourTextMenuItem);
formatMenu.add(renderGapsMenuItem);
formatMenu.add(centreColumnLabelsMenuItem);
- formatMenu.add(showUnconservedMenuItem);
+ formatMenu.add(showNonconservedMenuItem);
selectMenu.add(findMenuItem);
selectMenu.addSeparator();
selectMenu.add(selectAllSequenceMenuItem);
selectMenu.add(deselectAllSequenceMenuItem);
selectMenu.add(invertSequenceMenuItem);
selectMenu.add(invertColSel);
- selectMenu.add(deleteGroups);
+ selectMenu.add(createGroup);
+ selectMenu.add(unGroup);
selectMenu.add(grpsFromSelection);
+ selectMenu.add(deleteGroups);
+ calculateMenu.add(expandAlignment);
+ // TODO - determine if the listenToViewSelections button is needed : see bug
+ // JAL-574
+ // selectMenu.addSeparator();
+ // selectMenu.add(listenToViewSelections);
+ }
+
+ /**
+ * Action on clicking sort annotations by type.
+ *
+ * @param sortOrder
+ */
+ protected void sortAnnotations_actionPerformed()
+ {
+ }
+
+ /**
+ * Action on clicking Show all annotations.
+ *
+ * @param forSequences
+ * update sequence-related annotations
+ * @param forAlignment
+ * update non-sequence-related annotations
+ */
+ protected void showAllAnnotations_actionPerformed(boolean forSequences,
+ boolean forAlignment)
+ {
+ setAnnotationsVisibility(true, forSequences, forAlignment);
+ }
+
+ /**
+ * Action on clicking Hide all annotations.
+ *
+ * @param forSequences
+ * update sequence-related annotations
+ * @param forAlignment
+ * update non-sequence-related annotations
+ */
+ protected void hideAllAnnotations_actionPerformed(boolean forSequences,
+ boolean forAlignment)
+ {
+ setAnnotationsVisibility(false, forSequences, forAlignment);
+ }
+
+ /**
+ * Set the visibility of annotations to true or false. Can act on
+ * sequence-related annotations, or alignment-related, or both.
+ *
+ * @param visible
+ * @param forSequences
+ * update sequence-related annotations
+ * @param forAlignment
+ * update non-sequence-related annotations
+ */
+ protected void setAnnotationsVisibility(boolean visible,
+ boolean forSequences, boolean forAlignment)
+ {
+
+ }
+
+ protected void normaliseSequenceLogo_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected void listenToViewSelections_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
}
protected void showAllhidden_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void hideAllButSelection_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void hideAllSelection_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void applyAutoAnnotationSettings_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showConsensusHistogram_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showSequenceLogo_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void makeGrpsFromSelection_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showGroupConsensus_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showGroupConservation_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showUnconservedMenuItem_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showSeqFeaturesHeight_actionPerformed(
ActionEvent actionEvent)
{
// TODO Auto-generated method stub
-
+
}
protected void justifyRightMenuItem_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void justifyLeftMenuItem_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void followHighlight_actionPerformed()
{
// TODO Auto-generated method stub
-
+
}
protected void showNpFeats_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void showDbRefs_actionPerformed(ActionEvent e)
{
// TODO Auto-generated method stub
-
+
}
protected void centreColumnLabels_actionPerformed(ActionEvent e)
@@ -2093,6 +2763,18 @@ public class GAlignFrame extends JInternalFrame
{
}
+ protected void purinePyrimidineColour_actionPerformed(ActionEvent e)
+ {
+ }
+
+ protected void RNAInteractionColour_actionPerformed(ActionEvent e)
+ {
+ }
+
+ /*
+ * protected void covariationColour_actionPerformed(ActionEvent e) { }
+ */
+
protected void noColourmenuItem_actionPerformed(ActionEvent e)
{
}
@@ -2129,6 +2811,14 @@ public class GAlignFrame extends JInternalFrame
{
}
+ protected void createGroup_actionPerformed(ActionEvent e)
+ {
+ }
+
+ protected void unGroup_actionPerformed(ActionEvent e)
+ {
+ }
+
protected void copy_actionPerformed(ActionEvent e)
{
}
@@ -2174,8 +2864,39 @@ public class GAlignFrame extends JInternalFrame
{
}
+ public void createSVG(java.io.File f)
+ {
+
+ }
protected void LoadtreeMenuItem_actionPerformed(ActionEvent e)
{
+
+ }
+
+ /**
+ * Template method to handle the 'load T-Coffee scores' menu event.
+ *
+ * Subclasses override this method to provide a custom action.
+ *
+ * @param event
+ * The raised event
+ */
+ protected void loadScores_actionPerformed(ActionEvent event)
+ {
+
+ }
+
+ /**
+ * Template method to handle the 'Color T-Coffee scores' menu event.
+ *
+ * Subclasses override this method to provide a custom action.
+ *
+ * @param event
+ * The raised event
+ */
+ protected void tcoffeeColorScheme_actionPerformed(ActionEvent event)
+ {
+
}
protected void jpred_actionPerformed(ActionEvent e)
@@ -2245,6 +2966,11 @@ public class GAlignFrame extends JInternalFrame
}
+ public void rnahelicesColour_actionPerformed(ActionEvent e)
+ {
+
+ }
+
public void associatedData_actionPerformed(ActionEvent e)
{
@@ -2255,6 +2981,11 @@ public class GAlignFrame extends JInternalFrame
}
+ public void sortByTreeOption_actionPerformed(ActionEvent e)
+ {
+
+ }
+
public void showAllSeqs_actionPerformed(ActionEvent e)
{
@@ -2364,4 +3095,30 @@ public class GAlignFrame extends JInternalFrame
{
}
+
+ protected void expand_newalign(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ protected boolean isShowAutoCalculatedAbove()
+ {
+ return showAutoCalculatedAbove;
+ }
+
+ protected void setShowAutoCalculatedAbove(boolean showAutoCalculatedAbove)
+ {
+ this.showAutoCalculatedAbove = showAutoCalculatedAbove;
+ }
+
+ protected SequenceAnnotationOrder getAnnotationSortOrder()
+ {
+ return annotationSortOrder;
+ }
+
+ protected void setAnnotationSortOrder(SequenceAnnotationOrder annotationSortOrder)
+ {
+ this.annotationSortOrder = annotationSortOrder;
+ }
}