(JAL-812,JAL-811) - generic test for 'calculation involving annotation' in progress...
[jalview.git] / src / jalview / javascript / JalviewLiteJsApi.java
index 103e7da..de3d29e 100644 (file)
@@ -1,6 +1,6 @@
 /*******************************************************************************
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
  *
  * This file is part of Jalview.
  *
@@ -280,6 +280,21 @@ public interface JalviewLiteJsApi
   public abstract void loadAnnotationFrom(AlignFrame alf, String annotation);
 
   /**
+   * parse the given string as a jalview feature or GFF annotation file and optionally enable feature display on the current alignFrame
+   * @param features - gff or features file
+   * @param autoenabledisplay - when true, feature display will be enabled if any features can be parsed from the string.
+   */
+  public abstract void loadFeatures(String features, boolean autoenabledisplay);
+
+  /**
+   * parse the given string as a jalview feature or GFF annotation file and optionally enable feature display on the given alignFrame.
+   * @param alf
+   * @param features - gff or features file
+   * @param autoenabledisplay - when true, feature display will be enabled if any features can be parsed from the string.
+   */
+  public abstract void loadFeaturesFrom(AlignFrame alf, String features, boolean autoenabledisplay);
+
+  /**
    * get the sequence features in the given format (Jalview or GFF)
    * @param format
    * @return