From: kjvdheide Date: Mon, 13 Nov 2017 19:16:43 +0000 (+0000) Subject: JAL-2805 more interface work X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=70ee73033498a1a9c1b0ea9a2cfa9775e2640064;p=jalview.git JAL-2805 more interface work --- 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); -}