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-1760 JAL-1641 Serialisation of Hidden Seqs and Cols in JSON output. Added ability...
[jalview.git]
/
src
/
jalview
/
datamodel
/
Sequence.java
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
cab1ac7
..
9f328ee
100755
(executable)
--- a/
src/jalview/datamodel/Sequence.java
+++ b/
src/jalview/datamodel/Sequence.java
@@
-59,6
+59,8
@@
public class Sequence implements SequenceI
RNA rna;
RNA rna;
+ private boolean hidden;
+
/**
* This annotation is displayed below the alignment but the positions are tied
* to the residues of this sequence
/**
* This annotation is displayed below the alignment but the positions are tied
* to the residues of this sequence
@@
-1283,4
+1285,16
@@
public class Sequence implements SequenceI
return result;
}
return result;
}
+ @Override
+ public boolean isHidden()
+ {
+ return this.hidden;
+ }
+
+ @Override
+ public void setHidden(Boolean hidden)
+ {
+ this.hidden = hidden;
+ }
+
}
}