{
setStatusMessage(results);
}
- return results.isEmpty() ? null : getHighlightInfo(results);
+ // JAL-3303 feature suppressed for now pending review
+ return null; // results.isEmpty() ? null : getHighlightInfo(results);
}
/**
}
}
}
- if (tooltipText.length() == 6) // <html>
+ if (tooltipText.length() == 6) // "<html>"
{
setToolTipText(null);
lastTooltip = null;
}
else
{
- if (tooltipText.length() > MAX_TOOLTIP_LENGTH) // constant
+ if (tooltipText.length() > MAX_TOOLTIP_LENGTH)
{
tooltipText.setLength(MAX_TOOLTIP_LENGTH);
- tooltipText.append("...TOOLONG!");
+ tooltipText.append("...");
}
if (unshownFeatures > 0)
{
tooltipText.append("<br/>").append("... ").append("<i>")
- .append(unshownFeatures)
- .append(" feature").append(unshownFeatures == 1 ? "" : "s")
- .append(" not shown</i>");
+ .append(MessageManager.formatMessage(
+ "label.features_not_shown", unshownFeatures))
+ .append("</i>");
}
String textString = tooltipText.toString();
if (lastTooltip == null || !lastTooltip.equals(textString))
* Map sequence selection
*/
SequenceGroup sg = MappingUtils.mapSequenceGroup(seqsel, sourceAv, av);
- av.setSelectionGroup(sg);
+ av.setSelectionGroup(sg != null && sg.getSize() > 0 ? sg : null);
av.isSelectionGroupChanged(true);
/*