Update annotation operation WIP
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Sat, 9 Oct 2021 13:01:38 +0000 (15:01 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Sat, 9 Oct 2021 13:01:38 +0000 (15:01 +0200)
src/jalview/ws2/operations/AnnotationOperation.java

index eeb51ef..6e887f9 100644 (file)
@@ -11,6 +11,7 @@ import javax.swing.JMenu;
 import javax.swing.JMenuItem;
 
 import jalview.bin.Cache;
+import jalview.datamodel.AlignmentAnnotation;
 import jalview.gui.AlignFrame;
 import jalview.gui.WsJobParameters;
 import jalview.io.AnnotationFile;
@@ -41,12 +42,12 @@ public class AnnotationOperation implements Operation
 
   final String typeName;
 
-  final ResultSupplier<AnnotationFile> annotationSupplier;
+  final ResultSupplier<List<AlignmentAnnotation>> annotationSupplier;
 
   final ResultSupplier<FeaturesFile> featuresSupplier;
 
   public AnnotationOperation(WebServiceI service,
-      ResultSupplier<AnnotationFile> annotSupplier,
+      ResultSupplier<List<AlignmentAnnotation>> annotSupplier,
       ResultSupplier<FeaturesFile> featSupplier, String operationName)
   {
     this.service = service;