From: kjvdheide Date: Tue, 5 Dec 2017 10:07:27 +0000 (+0000) Subject: JAL-2838 tree viewer interface expanded to include sorting X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=349224513625897a49a832321cf339145aa840c2;p=jalview.git JAL-2838 tree viewer interface expanded to include sorting --- diff --git a/src/jalview/ext/archaeopteryx/JalviewBinding.java b/src/jalview/ext/archaeopteryx/JalviewBinding.java index b4bcd61..331e77d 100644 --- a/src/jalview/ext/archaeopteryx/JalviewBinding.java +++ b/src/jalview/ext/archaeopteryx/JalviewBinding.java @@ -577,16 +577,16 @@ public final class JalviewBinding @Override public void sortByTree_actionPerformed()// modify for Aptx { - // + // if (treeCanvas.applyToAllViews) // { // final ArrayList commands = new ArrayList<>(); // for (AlignmentPanel ap : PaintRefresher - // .getAssociatedPanels(av.getSequenceSetId())) + // .getAssociatedPanels(parentAvport.getSequenceSetId())) // { // commands.add(sortAlignmentIn(ap.av.getAlignPanel())); // } - // av.getAlignPanel().alignFrame.addHistoryItem(new CommandI() + // parentAvport.getAlignPanel().alignFrame.addHistoryItem(new CommandI() // { // // @Override diff --git a/src/jalview/ext/treeviewer/ExternalTreeViewerBindingI.java b/src/jalview/ext/treeviewer/ExternalTreeViewerBindingI.java index a4ec9b2..4fc267a 100644 --- a/src/jalview/ext/treeviewer/ExternalTreeViewerBindingI.java +++ b/src/jalview/ext/treeviewer/ExternalTreeViewerBindingI.java @@ -56,4 +56,6 @@ public interface ExternalTreeViewerBindingI public void showMatchingChildSequences(N parentNode); + public void sortByTree_actionPerformed(); + }