From: Jim Procter Date: Thu, 26 Sep 2019 15:38:12 +0000 (+0100) Subject: JAL-3070 oops - refactor Slivka’s service stub too :) X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f811970db4f21e8cd1b3a0cb435a711e66d8bcd9;p=jalview.git JAL-3070 oops - refactor Slivka’s service stub too :) --- diff --git a/src/jalview/ws/slivkaws/SlivkaAnnotationServiceInstance.java b/src/jalview/ws/slivkaws/SlivkaAnnotationServiceInstance.java index 4d2c4fb..4fb35a0 100644 --- a/src/jalview/ws/slivkaws/SlivkaAnnotationServiceInstance.java +++ b/src/jalview/ws/slivkaws/SlivkaAnnotationServiceInstance.java @@ -1,11 +1,11 @@ package jalview.ws.slivkaws; +import jalview.api.FeatureColourI; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.SequenceI; +import jalview.datamodel.features.FeatureMatcherSetI; import jalview.ws.api.JobId; import jalview.ws.api.SequenceAnnotationServiceI; -import jalview.ws.gui.AnnotationWsJob; -import jalview.ws.jws2.SeqAnnotationServiceCalcWorker; import jalview.ws.params.ArgumentI; import jalview.ws.params.WsParamSetI; @@ -13,6 +13,7 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; import java.util.HashMap; import java.util.List; +import java.util.Map; import uk.ac.dundee.compbio.slivkaclient.FormField; import uk.ac.dundee.compbio.slivkaclient.RemoteFile; @@ -66,8 +67,9 @@ public class SlivkaAnnotationServiceInstance extends SlivkaWSInstance implements } @Override - public List getAlignmentAnnotation(AnnotationWsJob running, - SeqAnnotationServiceCalcWorker abstractJabaCalcWorker) throws Throwable + public List getAnnotationResult(JobId job, + List seqs, Map featureColours, + Map featureFilters) throws Throwable { // TODO Auto-generated method stub return null;