X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fworkers%2FAlignmentAnnotationFactory.java;h=2507bb58a9b0aee05356da7f2b371cca35f220ed;hb=3d0101179759ef157b088ea135423cd909512d9f;hp=b0392d43dcba33e116a609df29fdd3c84f8f95d1;hpb=7c70cb09e9de68ab567e38520d6d09f0c17a3939;p=jalview.git diff --git a/src/jalview/workers/AlignmentAnnotationFactory.java b/src/jalview/workers/AlignmentAnnotationFactory.java index b0392d4..2507bb5 100644 --- a/src/jalview/workers/AlignmentAnnotationFactory.java +++ b/src/jalview/workers/AlignmentAnnotationFactory.java @@ -31,11 +31,13 @@ import java.awt.Color; /** * Factory class with methods which allow clients (including external scripts - * such as Groovy) to 'register and forget' an alignment annotation calculator.
+ * such as Groovy) to 'register and forget' an alignment annotation calculator. + *
* Currently supports two flavours of calculator: * @@ -50,11 +52,12 @@ public class AlignmentAnnotationFactory */ public static void newCalculator(FeatureSetCounterI counter) { - AlignmentViewPanel currentAlignFrame = Jalview.getCurrentAlignFrame().alignPanel; + AlignmentViewPanel currentAlignFrame = Jalview + .getCurrentAlignFrame().alignPanel; if (currentAlignFrame == null) { - System.err - .println("Can't register calculator as no alignment window has focus"); + System.err.println( + "Can't register calculator as no alignment window has focus"); return; } new ColumnCounterSetWorker(currentAlignFrame.getAlignViewport(), @@ -79,8 +82,8 @@ public class AlignmentAnnotationFactory } else { - System.err - .println("Can't register calculator as no alignment window has focus"); + System.err.println( + "Can't register calculator as no alignment window has focus"); } } @@ -111,7 +114,8 @@ public class AlignmentAnnotationFactory public static Annotation newAnnotation(String displayChar, String desc, char secondaryStructure, float val, Color color) { - return new Annotation(displayChar, desc, secondaryStructure, val, color); + return new Annotation(displayChar, desc, secondaryStructure, val, + color); } /**