git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'JAL-1139_proguard' into develop
[jalview.git]
/
src
/
jalview
/
gui
/
AnnotationLabels.java
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
ec56388
..
c7fd4fe
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-29,6
+29,7
@@
import javax.swing.*;
import jalview.datamodel.*;
import jalview.io.*;
import jalview.datamodel.*;
import jalview.io.*;
+import jalview.util.MessageManager;
/**
* DOCUMENT ME!
/**
* DOCUMENT ME!
@@
-931,6
+932,7
@@
public class AnnotationLabels extends JPanel implements MouseListener,
if (aa[i].graphGroup > -1)
{
int groupSize = 0;
if (aa[i].graphGroup > -1)
{
int groupSize = 0;
+ // TODO: JAL-1291 revise rendering model so the graphGroup map is computed efficiently for all visible labels
for (int gg = 0; gg < aa.length; gg++)
{
if (aa[gg].graphGroup == aa[i].graphGroup)
for (int gg = 0; gg < aa.length; gg++)
{
if (aa[gg].graphGroup == aa[i].graphGroup)
@@
-1008,8
+1010,8
@@
public class AnnotationLabels extends JPanel implements MouseListener,
if (!av.wrapAlignment && ((aa == null) || (aa.length < 1)))
{
if (!av.wrapAlignment && ((aa == null) || (aa.length < 1)))
{
- g.drawString("Right click", 2, 8);
- g.drawString("to add annotation", 2, 18);
+ g.drawString(MessageManager.getString("label.right_click"), 2, 8);
+ g.drawString(MessageManager.getString("label.to_add_annotation"), 2, 18);
}
}
}
}
}
}