JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 013897d..0b26564 100755 (executable)
@@ -609,12 +609,23 @@ public interface SequenceI extends ASequenceI
   public void resetColors();
 
   /**
+   * allows passing the result ArrayList as a parameter to avoid unnecessary
+   * construction
+   * 
    * @author Bob Hanson 2019.07.30
    * 
-   * allows passing the result ArrayList as a parameter to avoid unnecessary construction
    * 
    */
-  void findFeatures(int column, String type, List<SequenceFeature> result);
+  List<SequenceFeature> findFeatures(int column, String type,
+          List<SequenceFeature> result);
+
+  /**
+   * allows early intervention for renderer if false
+   * 
+   * @author Bob Hanson 2019.07.30
+   * 
+   */
+  public boolean hasFeatures(String type);
 
 }