From: kjvdheide Date: Fri, 12 Jan 2018 15:15:33 +0000 (+0000) Subject: JAL-2805 added getter and setter for jalview association to tree frame X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b9fd5226c4a3293dc94a5b7d3abc9970c0b93a53;p=jalview.git JAL-2805 added getter and setter for jalview association to tree frame --- diff --git a/src/jalview/ext/archaeopteryx/AptxFrame.java b/src/jalview/ext/archaeopteryx/AptxFrame.java index 92d2da2..f4ee9c4 100644 --- a/src/jalview/ext/archaeopteryx/AptxFrame.java +++ b/src/jalview/ext/archaeopteryx/AptxFrame.java @@ -44,7 +44,7 @@ public class AptxFrame implements TreeFrameI { private final MainFrame aptxFrame; - + private TreeViewerBindingI viewBinding; private TreePanelI aptxPanel; @@ -418,4 +418,18 @@ public class AptxFrame implements TreeFrameI } + @Override + public TreeViewerBindingI getViewBinding() + { + return viewBinding; + } + + @Override + public void setViewBinding(TreeViewerBindingI alignmentBinding) + { + viewBinding = alignmentBinding; + } + + + } \ No newline at end of file diff --git a/src/jalview/ext/treeviewer/TreeFrameI.java b/src/jalview/ext/treeviewer/TreeFrameI.java index 922c304..2758229 100644 --- a/src/jalview/ext/treeviewer/TreeFrameI.java +++ b/src/jalview/ext/treeviewer/TreeFrameI.java @@ -41,5 +41,8 @@ public interface TreeFrameI public void addFrameToJalview(String title, boolean makeVisible, int width, int height, boolean resizable, boolean ignoreMinSize); + public TreeViewerBindingI getViewBinding(); + + public void setViewBinding(TreeViewerBindingI alignmentBinding); }