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-3328 Getdown version number, changed to 1.8.3-1.0_JVL
[jalview.git]
/
src
/
jalview
/
datamodel
/
AllColsCollection.java
diff --git
a/src/jalview/datamodel/AllColsCollection.java
b/src/jalview/datamodel/AllColsCollection.java
index
1b1a5dd
..
e216c46
100644
(file)
--- a/
src/jalview/datamodel/AllColsCollection.java
+++ b/
src/jalview/datamodel/AllColsCollection.java
@@
-27,20
+27,22
@@
import java.util.Iterator;
public class AllColsCollection implements AlignmentColsCollectionI
{
int start;
public class AllColsCollection implements AlignmentColsCollectionI
{
int start;
+
int end;
int end;
- ColumnSelection hidden;
-
- public AllColsCollection(int s, int e, ColumnSelection colsel)
+
+ HiddenColumns hidden;
+
+ public AllColsCollection(int s, int e, AlignmentI al)
{
start = s;
end = e;
{
start = s;
end = e;
- hidden = colsel;
+ hidden = al.getHiddenColumns();
}
}
-
+
@Override
public Iterator<Integer> iterator()
{
@Override
public Iterator<Integer> iterator()
{
- return new AllColsIterator(start,end,hidden);
+ return new AllColsIterator(start, end, hidden);
}
@Override
}
@Override
@@
-48,4
+50,10
@@
public class AllColsCollection implements AlignmentColsCollectionI
{
return !hidden.isVisible(c);
}
{
return !hidden.isVisible(c);
}
+
+ @Override
+ public boolean hasHidden()
+ {
+ return hidden.hasHiddenColumns();
+ }
}
}