public interface AlignCalcWorkerI
{
/**
+ * Returns the name of this calculation used to identify the service running
+ * this worker.
+ *
+ * @return calculator name
+ */
+ public default String getCalcName()
+ {
+ return null;
+ }
+
+ /**
* Answers true if this worker updates the given annotation (regardless of its
* current state)
*
* Removes any annotation(s) managed by this worker from the alignment
*/
void removeAnnotation();
-
+
/**
* The main calculation happens here
- * @throws Throwable
+ *
+ * @throws Throwable
*/
public void run() throws Throwable;
-
+
/**
* Answers true if the worker should be deleted entirely when its annotation
* is deleted from the display, or false if it should continue to run. Some