From: Mateusz Warowny Date: Thu, 23 Dec 2021 16:48:10 +0000 (+0100) Subject: JAL-3878 Use AlignViewport interface instead of concrete implementation in AlignmentW... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e769adc14fe9368f36a8889982bb1d6fdc87df06;p=jalview.git JAL-3878 Use AlignViewport interface instead of concrete implementation in AlignmentWorker --- diff --git a/src/jalview/ws2/operations/AlignmentWorker.java b/src/jalview/ws2/operations/AlignmentWorker.java index 79ef527..191574b 100644 --- a/src/jalview/ws2/operations/AlignmentWorker.java +++ b/src/jalview/ws2/operations/AlignmentWorker.java @@ -14,6 +14,7 @@ import jalview.analysis.AlignSeq; import jalview.analysis.AlignmentSorter; import jalview.analysis.SeqsetUtils; import jalview.analysis.SeqsetUtils.SequenceInfo; +import jalview.api.AlignViewportI; import jalview.bin.Cache; import jalview.datamodel.AlignedCodonFrame; import jalview.datamodel.Alignment; @@ -39,7 +40,7 @@ public class AlignmentWorker extends AbstractPollableWorker private AlignmentI dataset; - private AlignViewport viewport; + private AlignViewportI viewport; private List codonFrame = new ArrayList<>(); @@ -133,7 +134,7 @@ public class AlignmentWorker extends AbstractPollableWorker public AlignmentWorker(AlignmentOperation operation, AlignmentView msa, List args, - boolean submitGaps, boolean preserveOrder, AlignViewport viewport) + boolean submitGaps, boolean preserveOrder, AlignViewportI viewport) { this.operation = operation; this.msa = msa;