JAL-4062 avc operation and model method for copying SearchResultsI.getMatchingSubSequ...
[jalview.git] / src / jalview / api / AlignViewControllerI.java
index 8ed2c95..3e689d1 100644 (file)
@@ -22,6 +22,8 @@ package jalview.api;
 
 import java.util.List;
 
+import jalview.io.DataSourceType;
+
 /**
  * prototype abstract controller for a Jalview alignment view
  * 
@@ -88,13 +90,13 @@ public interface AlignViewControllerI
    * add a features file of some kind to the current view
    * 
    * @param file
-   * @param protocol
+   * @param sourceType
    * @param relaxedIdMatching
    *          if true, try harder to match up IDs with local sequence data
    * @return true if parsing resulted in something being imported to the view or
    *         dataset
    */
-  public boolean parseFeaturesFile(String file, String protocol,
+  public boolean parseFeaturesFile(Object file, DataSourceType sourceType,
           boolean relaxedIdMatching);
 
   /**
@@ -109,4 +111,12 @@ public interface AlignViewControllerI
   boolean markHighlightedColumns(boolean invert, boolean extendCurrent,
           boolean toggle);
 
+  /**
+   * copies each distinct highlighted region on the current view as a new
+   * sequence on the clipboard
+   * 
+   * @return
+   */
+  boolean copyHighlightedRegionsToClipboard();
+
 }