COnservationSelected and rubberband method setup
authoramwaterhouse <Andrew Waterhouse>
Fri, 10 Dec 2004 14:33:53 +0000 (14:33 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 10 Dec 2004 14:33:53 +0000 (14:33 +0000)
src/jalview/gui/AlignViewport.java

index 905255a..b21f47e 100755 (executable)
@@ -25,11 +25,14 @@ public class AlignViewport
   boolean groupDefiningMode = true;\r
 \r
   ColourSchemeI globalColourScheme = null;\r
+  boolean conservationColourSelected = false;\r
+\r
+  SequenceGroup rubberbandGroup = null;\r
 \r
   RendererI renderer = new SequenceRenderer(this);\r
 \r
   int             charHeight;\r
-  int          charWidth;\r
+  int             charWidth;\r
   int             chunkWidth;\r
   int             chunkHeight;\r
 \r
@@ -114,6 +117,25 @@ public class AlignViewport
     return consensus;\r
   }\r
 \r
+  public SequenceGroup getRubberbandGroup()\r
+  {\r
+    return rubberbandGroup;\r
+  }\r
+\r
+  public void setRubberbandGroup(SequenceGroup sg)\r
+  {\r
+    rubberbandGroup = sg;\r
+  }\r
+\r
+ public boolean getConservationSelected()\r
+ {\r
+   return conservationColourSelected;\r
+ }\r
+\r
+ public void setConservationSelected(boolean b)\r
+ {\r
+   conservationColourSelected = b;\r
+ }\r
 \r
   public int getStartRes() {\r
     return startRes;\r