From 70ee73033498a1a9c1b0ea9a2cfa9775e2640064 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Mon, 13 Nov 2017 19:16:43 +0000 Subject: [PATCH] JAL-2805 more interface work --- .../ext/archaeopteryx/JalviewToAptxAssociation.java | 2 +- .../archaeopteryx/JalviewToLoadedTreeAssociationI.java | 15 +++++++++++++++ .../archaeopteryx/JalviewToSequenceAssociationI.java | 8 -------- 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 src/jalview/ext/archaeopteryx/JalviewToLoadedTreeAssociationI.java delete mode 100644 src/jalview/ext/archaeopteryx/JalviewToSequenceAssociationI.java diff --git a/src/jalview/ext/archaeopteryx/JalviewToAptxAssociation.java b/src/jalview/ext/archaeopteryx/JalviewToAptxAssociation.java index 4d34a96..7ee5918 100644 --- a/src/jalview/ext/archaeopteryx/JalviewToAptxAssociation.java +++ b/src/jalview/ext/archaeopteryx/JalviewToAptxAssociation.java @@ -10,7 +10,7 @@ import org.forester.phylogeny.Phylogeny; import org.forester.phylogeny.PhylogenyNode; public class JalviewToAptxAssociation - implements JalviewToSequenceAssociationI + implements JalviewToLoadedTreeAssociationI { SequenceI[] alignSequences; diff --git a/src/jalview/ext/archaeopteryx/JalviewToLoadedTreeAssociationI.java b/src/jalview/ext/archaeopteryx/JalviewToLoadedTreeAssociationI.java new file mode 100644 index 0000000..ad6a370 --- /dev/null +++ b/src/jalview/ext/archaeopteryx/JalviewToLoadedTreeAssociationI.java @@ -0,0 +1,15 @@ +package jalview.ext.archaeopteryx; + +import jalview.datamodel.SequenceI; + +/** + * Note that this will take anything as a Tree object. + * + * @author kjvanderheide + * + * @param + */ +interface JalviewToLoadedTreeAssociationI +{ + public void associateLeavesToSequences(SequenceI[] seqs, T tree); +} diff --git a/src/jalview/ext/archaeopteryx/JalviewToSequenceAssociationI.java b/src/jalview/ext/archaeopteryx/JalviewToSequenceAssociationI.java deleted file mode 100644 index 9f116a7..0000000 --- a/src/jalview/ext/archaeopteryx/JalviewToSequenceAssociationI.java +++ /dev/null @@ -1,8 +0,0 @@ -package jalview.ext.archaeopteryx; - -import jalview.datamodel.SequenceI; - -interface JalviewToSequenceAssociationI -{ - public void associateLeavesToSequences(SequenceI[] seqs, T tree); -} -- 1.7.10.2