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()
{
g = Thread.currentThread().getThreadGroup();
/**
- * @j2sNative i = g._jalviewScoreModelsInstance;
+ * @j2sNative i = g._jalviewAlignmentSorterInstance;
*
*/
}
if (Platform.isJS())
{
/**
- * @j2sNative g._jalviewScoreModelsInstance = i;
+ * @j2sNative g._jalviewAlignmentSorterInstance = i;
*
*/
}
}
/**
- * 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.
* <p>