From 6c83ae1da00ab89c8fc7b88fab32b2d4a8a05feb Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 15 Aug 2006 10:57:59 +0000 Subject: [PATCH] fixed alignment ordering name. --- src/jalview/ws/MsaWSThread.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/jalview/ws/MsaWSThread.java b/src/jalview/ws/MsaWSThread.java index 1382a23..62f076a 100644 --- a/src/jalview/ws/MsaWSThread.java +++ b/src/jalview/ws/MsaWSThread.java @@ -2,12 +2,11 @@ package jalview.ws; import java.util.*; -import javax.swing.*; - import jalview.analysis.*; import jalview.bin.*; import jalview.datamodel.*; import jalview.datamodel.Alignment; +import jalview.datamodel.Sequence; import jalview.gui.*; import vamsas.objects.simple.MsaResult; @@ -824,8 +823,6 @@ class MsaWSThread if (newFrame) { - // TODO: JBPNote Should also rename the query sequence - // sometime... AlignFrame af = new AlignFrame(al, columnselection); // >>>This is a fix for the moment, until a better solution is @@ -845,7 +842,7 @@ class MsaWSThread Vector names = new Vector(); for (int i = 0, l = alorders.size(); i < l; i++) { - String orderName = new String("Region " + i); + String orderName = new String(" Region " + i); int j = i + 1; int r = l; while (j < l) @@ -874,7 +871,8 @@ class MsaWSThread } for (int i = 0, l = alorders.size(); i < l; i++) { - af.addSortByOrderMenuItem(WebServiceName + ( (String) names.get(i)) + + af.addSortByOrderMenuItem(WebServiceName + +( (String) names.get(i)) + " Ordering", (AlignmentOrder) alorders.get(i)); } -- 1.7.10.2