X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fworkers%2FAlignmentAnnotationFactory.java;h=2507bb58a9b0aee05356da7f2b371cca35f220ed;hb=0bfbb0272241e40244d0e32cd7ea66108c8590b4;hp=b0392d43dcba33e116a609df29fdd3c84f8f95d1;hpb=136c0793b90b72b928c4d77dc109dd5c644e00d3;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:
*
* - a simple 'feature counter' which counts any desired score derivable from
- * residue value and any sequence features at each position of the alignment
+ * residue value and any sequence features at each position of the
+ * alignment
* - a 'general purpose' calculator which computes one or more complete
* AlignmentAnnotation objects
*
@@ -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);
}
/**