JAL-976 fix AACon name typo in source and GUI
[jalview.git] / src / jalview / ws / jws2 / AAConClient.java
similarity index 88%
rename from src/jalview/ws/jws2/AAConsClient.java
rename to src/jalview/ws/jws2/AAConClient.java
index c565915..a88a221 100644 (file)
@@ -4,7 +4,7 @@ import jalview.datamodel.AlignmentAnnotation;
 import jalview.datamodel.AlignmentI;
 import jalview.gui.AlignFrame;
 import jalview.gui.AlignmentPanel;
-import jalview.ws.jws2.dm.AAConsSettings;
+import jalview.ws.jws2.dm.AAConSettings;
 import jalview.ws.jws2.jabaws2.Jws2Instance;
 import jalview.ws.params.WsParamSetI;
 
@@ -17,10 +17,10 @@ import java.util.TreeSet;
 import compbio.data.sequence.Score;
 import compbio.metadata.Argument;
 
-public class AAConsClient extends JabawsAlignCalcWorker
+public class AAConClient extends JabawsAlignCalcWorker
 {
 
-  public AAConsClient(Jws2Instance service, AlignFrame alignFrame,
+  public AAConClient(Jws2Instance service, AlignFrame alignFrame,
           WsParamSetI preset, List<Argument> paramset)
   {
     super(service, alignFrame, preset, paramset);
@@ -36,7 +36,7 @@ public class AAConsClient extends JabawsAlignCalcWorker
   {
     ((jalview.gui.AlignViewport) alignViewport).setCalcIdSettingsFor(
             getCalcId(),
-            new AAConsSettings(true, service, this.preset,
+            new AAConSettings(true, service, this.preset,
                     (arguments != null) ? JabaParamStore
                             .getJwsArgsfromJaba(arguments) : null), true);
   }
@@ -51,7 +51,7 @@ public class AAConsClient extends JabawsAlignCalcWorker
 
   public String getServiceActionText()
   {
-    return "calculating Amino acid consensus using AACons service";
+    return "calculating Amino acid consensus using AACon service";
   }
 
   /**
@@ -100,13 +100,13 @@ public class AAConsClient extends JabawsAlignCalcWorker
 
   public String getCalcId()
   {
-    return SequenceAnnotationWSClient.AAConsCalcId;
+    return SequenceAnnotationWSClient.AAConCalcId;
   }
 
   public static void removeAAConsAnnotation(AlignmentPanel alignPanel)
   {
     for (AlignmentAnnotation aa : alignPanel.getAlignment().findAnnotation(
-            SequenceAnnotationWSClient.AAConsCalcId))
+            SequenceAnnotationWSClient.AAConCalcId))
     {
       alignPanel.getAlignment().deleteAnnotation(aa);
     }