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
JAL-2001 TODO for new ColumnSelection API
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationPanel.java
diff --git
a/src/jalview/appletgui/AnnotationPanel.java
b/src/jalview/appletgui/AnnotationPanel.java
index
d642c14
..
77700d0
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationPanel.java
+++ b/
src/jalview/appletgui/AnnotationPanel.java
@@
-160,6
+160,9
@@
public class AnnotationPanel extends Panel implements AwtRenderPanelI,
{
for (int sel : av.getColumnSelection().getSelected())
{
{
for (int sel : av.getColumnSelection().getSelected())
{
+ // TODO: JAL-2001 check if applet has faulty 'REMOVE' selected columns
+ // of
+ // annotation if selection includes hidden columns
anot[sel] = null;
}
}
anot[sel] = null;
}
}
@@
-179,6
+182,8
@@
public class AnnotationPanel extends Panel implements AwtRenderPanelI,
for (int index : av.getColumnSelection().getSelected())
{
for (int index : av.getColumnSelection().getSelected())
{
+ // TODO: JAL-2001 - provide a fast method to list visible selected
+ // columns
if (!av.getColumnSelection().isVisible(index))
{
continue;
if (!av.getColumnSelection().isVisible(index))
{
continue;