X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FAlignmentSorter.java;h=427db84270b79c1957490d7d2d046cee34590deb;hb=5721b73c6d5de84b21a989a8734e4c161f5dc630;hp=e5038ba2f540048ef20ecd7a643d79bd2abd21b2;hpb=87256ba36fb105a1115067ffe2563412e9281d2d;p=jalview.git diff --git a/src/jalview/analysis/AlignmentSorter.java b/src/jalview/analysis/AlignmentSorter.java index e5038ba..427db84 100755 --- a/src/jalview/analysis/AlignmentSorter.java +++ b/src/jalview/analysis/AlignmentSorter.java @@ -55,6 +55,18 @@ import java.util.List; public class AlignmentSorter { + /** + * types of feature ordering: Sort by score : average score - or total score - + * over all features in region Sort by feature label text: (or if null - + * feature type text) - numerical or alphabetical Sort by feature density: + * based on counts - ignoring individual text or scores for each feature + */ + public static final String FEATURE_SCORE = "average_score"; + + public static final String FEATURE_LABEL = "text"; + + public static final String FEATURE_DENSITY = "density"; + static AlignmentSorter instance; public static AlignmentSorter getInstance() @@ -69,7 +81,7 @@ public class AlignmentSorter { g = Thread.currentThread().getThreadGroup(); /** - * @j2sNative i = g._jalviewScoreModelsInstance; + * @j2sNative i = g._jalviewAlignmentSorterInstance; * */ } @@ -80,7 +92,7 @@ public class AlignmentSorter if (Platform.isJS()) { /** - * @j2sNative g._jalviewScoreModelsInstance = i; + * @j2sNative g._jalviewAlignmentSorterInstance = i; * */ } @@ -722,18 +734,6 @@ public class AlignmentSorter } /** - * types of feature ordering: Sort by score : average score - or total score - - * over all features in region Sort by feature label text: (or if null - - * feature type text) - numerical or alphabetical Sort by feature density: - * based on counts - ignoring individual text or scores for each feature - */ - public static String FEATURE_SCORE = "average_score"; - - public static String FEATURE_LABEL = "text"; - - public static String FEATURE_DENSITY = "density"; - - /** * Sort sequences by feature score or density, optionally restricted by * feature types, feature groups, or alignment start/end positions. *