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
added centre annotation labels menu entry (and commented out SeqSearch web service...
[jalview.git]
/
src
/
jalview
/
gui
/
AlignViewport.java
diff --git
a/src/jalview/gui/AlignViewport.java
b/src/jalview/gui/AlignViewport.java
index
a2d5ec2
..
652d8d1
100755
(executable)
--- a/
src/jalview/gui/AlignViewport.java
+++ b/
src/jalview/gui/AlignViewport.java
@@
-167,7
+167,7
@@
public class AlignViewport
showAnnotation = Cache.getDefault("SHOW_ANNOTATIONS", true);
rightAlignIds = Cache.getDefault("RIGHT_ALIGN_IDS", false);
showAnnotation = Cache.getDefault("SHOW_ANNOTATIONS", true);
rightAlignIds = Cache.getDefault("RIGHT_ALIGN_IDS", false);
-
+ centreColumnLabels = Cache.getDefault("CENTRE_COLUMN_LABELS", false);
autoCalculateConsensus = Cache.getDefault("AUTO_CALC_CONSENSUS", true);
padGaps = Cache.getDefault("PAD_GAPS", true);
autoCalculateConsensus = Cache.getDefault("AUTO_CALC_CONSENSUS", true);
padGaps = Cache.getDefault("PAD_GAPS", true);
@@
-456,9
+456,14
@@
public class AlignViewport
boolean updatingConsensus = false;
boolean updatingConservation = false;
boolean updatingConsensus = false;
boolean updatingConservation = false;
+ /**
+ * centre columnar annotation labels in displayed alignment annotation
+ * TODO: add to jalviewXML and annotation display settings
+ */
+ boolean centreColumnLabels=false;
/**
/**
- * DOCUMENT ME!
+ * trigger update of conservation annotation
*/
public void updateConservation(final AlignmentPanel ap)
{
*/
public void updateConservation(final AlignmentPanel ap)
{
@@
-472,7
+477,7
@@
public class AlignViewport
}
/**
}
/**
- * DOCUMENT ME!
+ * trigger update of consensus annotation
*/
public void updateConsensus(final AlignmentPanel ap)
{
*/
public void updateConsensus(final AlignmentPanel ap)
{
@@
-1893,4
+1898,13
@@
public class AlignViewport
}
return false;
}
}
return false;
}
+
+ public boolean getCentreColumnLabels()
+ {
+ return centreColumnLabels;
+ }
+ public void setCentreColumnLabels(boolean centrecolumnlabels)
+ {
+ centreColumnLabels = centrecolumnlabels;
+ }
}
}