From 0ff82a5d931e19c572695992cd0f59346819db56 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 19 Oct 2011 18:28:47 +0100 Subject: [PATCH] new base class to hold core visualization settings for a jalview alignment view --- src/jalview/datamodel/AlignmentViewport.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/jalview/datamodel/AlignmentViewport.java diff --git a/src/jalview/datamodel/AlignmentViewport.java b/src/jalview/datamodel/AlignmentViewport.java new file mode 100644 index 0000000..7573401 --- /dev/null +++ b/src/jalview/datamodel/AlignmentViewport.java @@ -0,0 +1,22 @@ +package jalview.datamodel; + +/** + * base class holding visualization and analysis attributes for an active alignment view displayed in the GUI + * @author jimp + * + */ +public class AlignmentViewport +{ + + /** + * percentage gaps allowed in a column before all amino acid properties should be considered unconserved + */ + int ConsPercGaps = 25; // JBPNote : This should be a scalable property! + + + public int getConsPercGaps() + { + return ConsPercGaps; + } + +} -- 1.7.10.2