X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FTextColourChooser.java;h=8bc01b8ffcdc91309f4adccf9f4414fe164e6667;hb=59d682209891099d46b960509907c79e3fb276fe;hp=1627ab77bbff6d862b1127a4e06c65cbf91cad7c;hpb=b81d4d7d46ea8b1c89df086fb847baab6b69d427;p=jalview.git diff --git a/src/jalview/gui/TextColourChooser.java b/src/jalview/gui/TextColourChooser.java index 1627ab7..8bc01b8 100644 --- a/src/jalview/gui/TextColourChooser.java +++ b/src/jalview/gui/TextColourChooser.java @@ -1,13 +1,13 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) + * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * + * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -137,7 +137,7 @@ public class TextColourChooser if (sg == null) { ap.av.textColour = col; - if (ap.av.colourAppliesToAllGroups) + if (ap.av.getColourAppliesToAllGroups()) { setGroupTextColour(); } @@ -155,7 +155,7 @@ public class TextColourChooser if (sg == null) { ap.av.textColour2 = col; - if (ap.av.colourAppliesToAllGroups) + if (ap.av.getColourAppliesToAllGroups()) { setGroupTextColour(); } @@ -173,7 +173,7 @@ public class TextColourChooser if (sg == null) { ap.av.thresholdTextColour = value; - if (ap.av.colourAppliesToAllGroups) + if (ap.av.getColourAppliesToAllGroups()) { setGroupTextColour(); } @@ -193,9 +193,7 @@ public class TextColourChooser return; } - - - for (SequenceGroup sg:ap.av.getAlignment().getGroups()) + for (SequenceGroup sg : ap.av.getAlignment().getGroups()) { sg.textColour = ap.av.textColour; sg.textColour2 = ap.av.textColour2;