JAL-3633 Small changes to allow future fitting with ApplicationSingletonI/Jalview...
[jalview.git] / src / jalview / structure / SequenceListener.java
index 6f5ea50..f8c5bea 100644 (file)
  */
 package jalview.structure;
 
-import jalview.datamodel.*;
+import jalview.datamodel.SearchResultsI;
+import jalview.datamodel.SequenceI;
 
 public interface SequenceListener
 {
+  // TODO remove this? never called on SequenceListener type
   public void mouseOverSequence(SequenceI sequence, int index, int pos);
 
-  public void highlightSequence(jalview.datamodel.SearchResults results);
+  /**
+   * Highlights any position(s) represented by the search results and
+   * (optionally) returns an informative message about the position(s)
+   * higlighted
+   * 
+   * @param results
+   * @return
+   */
+  public String highlightSequence(SearchResultsI results);
 
+  // TODO remove this? never called
   public void updateColours(SequenceI sequence, int index);
+
+  public VamsasSource getVamsasSource();
+
 }