JAL-2805 added getter and setter for jalview association to tree frame
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 12 Jan 2018 15:15:33 +0000 (15:15 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 12 Jan 2018 15:15:33 +0000 (15:15 +0000)
src/jalview/ext/archaeopteryx/AptxFrame.java
src/jalview/ext/treeviewer/TreeFrameI.java

index 92d2da2..f4ee9c4 100644 (file)
@@ -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
index 922c304..2758229 100644 (file)
@@ -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);
 
 }