From: gmungoc Date: Mon, 31 Oct 2016 11:45:44 +0000 (+0000) Subject: JAL-1723 ellipsis in tooltip if xrefs to more than 40 db sources X-Git-Tag: Release_2_10_1~11^2^2~3^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9a0f307f1fea87200c2ce905073942570795c6cc;p=jalview.git JAL-1723 ellipsis in tooltip if xrefs to more than 40 db sources --- diff --git a/resources/lang/Messages.properties b/resources/lang/Messages.properties index 864e34a..1c52b63 100644 --- a/resources/lang/Messages.properties +++ b/resources/lang/Messages.properties @@ -1268,3 +1268,4 @@ status.exporting_alignment_as_x_file = Exporting alignment as {0} file label.column = Column label.cant_map_cds = Unable to map CDS to protein\nCDS missing or incomplete label.operation_failed = Operation failed +label.output_seq_details = Output Sequence Details to list all database references diff --git a/resources/lang/Messages_es.properties b/resources/lang/Messages_es.properties index 754d94d..8009ae9 100644 --- a/resources/lang/Messages_es.properties +++ b/resources/lang/Messages_es.properties @@ -1269,3 +1269,4 @@ status.exporting_alignment_as_x_file = Exportando alineamiento como fichero tipo label.column = Columna label.cant_map_cds = No se pudo mapear CDS a proteĆ­na\nDatos CDS faltantes o incompletos label.operation_failed = OperaciĆ³n fallada +label.output_seq_details = Seleccionar Detalles de la secuencia para ver todas diff --git a/src/jalview/api/FeatureRenderer.java b/src/jalview/api/FeatureRenderer.java index dbc9880..f54231e 100644 --- a/src/jalview/api/FeatureRenderer.java +++ b/src/jalview/api/FeatureRenderer.java @@ -132,7 +132,8 @@ public interface FeatureRenderer void setGroupVisibility(String group, boolean visible); /** - * locate features at a particular position on the given sequence + * Returns features at the specified position on the given sequence. + * Non-positional features are not included. * * @param sequence * @param res diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 885aab2..73ed744 100644 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -785,7 +785,7 @@ public class SeqPanel extends JPanel implements MouseListener, seqARep.appendFeatures(tooltipText, rpos, features, this.ap.getSeqPanel().seqCanvas.fr.getMinMax()); } - if (tooltipText.length() == 6) // + if (tooltipText.length() == 6) // { setToolTipText(null); lastTooltip = null;