From 70a78b6d97931e671f557d042a0655052c3e41eb Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 15 Dec 2004 17:16:06 +0000 Subject: [PATCH] If selection altered, update Rubberband group also --- src/jalview/gui/AlignViewport.java | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index b21f47e..1c6c453 100755 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -20,9 +20,7 @@ public class AlignViewport boolean showColourText=false; boolean showBoxes=true; boolean wrapAlignment=false; - boolean renderGaps = false; - boolean groupEdit = false; - boolean groupDefiningMode = true; + boolean renderGaps = true; ColourSchemeI globalColourScheme = null; boolean conservationColourSelected = false; @@ -39,7 +37,7 @@ public class AlignViewport Font font = new Font("SansSerif",Font.PLAIN,10); AlignmentI alignment; - Selection sel = new Selection(); + Selection sel = new Selection(this); ColumnSelection colSel = new ColumnSelection(); OutputGenerator og; @@ -276,15 +274,7 @@ public class AlignViewport public boolean getShowBoxes() { return showBoxes; } - // public CommandParser getCommandLog() { - /// return log; - // } - public boolean getGroupEdit() { - return groupEdit; - } - public void setGroupEdit(boolean state) { - groupEdit = state; - } + public char getGapCharacter() { return getAlignment().getGapCharacter(); } -- 1.7.10.2