JAL-3690 AACon ws menu entry fix.
[jalview.git] / src / jalview / ws / slivkaws / SlivkaAnnotationServiceInstance.java
index f11eb1c..b3509b0 100644 (file)
@@ -35,7 +35,9 @@ public class SlivkaAnnotationServiceInstance extends SlivkaWSInstance implements
     super(client, service, category);
     if (category == Category.CATEGORY_CONSERVATION)
     {
-      setAlignAnalysisUI(new AlignAnalysisUIText(category,
+      /* FIXME: the category name is hardcoded for AACon, names other than
+       * "AAConWS" doesn't work. */
+      setAlignAnalysisUI(new AlignAnalysisUIText(getName(),
               SlivkaAnnotationServiceInstance.class,
               "Slivka.AACons", false, true, true, true, true, 2,
               MessageManager.getString("label.aacon_calculations"),