JAL-1445 extend functionality to select or toggle selection for columns containing...
[jalview.git] / src / jalview / api / AlignViewControllerI.java
index 1d1e5fb..cac3776 100644 (file)
@@ -21,6 +21,14 @@ public interface AlignViewControllerI<ViewportI>
 
   public void setViewportAndAlignmentPanel(AlignViewportI viewport, AlignmentViewPanel alignPanel);
 
-  boolean markColumnsContainingFeatures(boolean invert, String featureType);
+  /**
+   * Mark columns in the current column selection according to positions of sequence features
+   * @param invert - when set, mark all but columns containing given type
+   * @param extendCurrent - when set, do not clear existing column selection
+   * @param toggle - rather than explicitly set, toggle selection state
+   * @param featureType - feature type string
+   * @return true if operation affected state
+   */
+  boolean markColumnsContainingFeatures(boolean invert, boolean extendCurrent, boolean clearColumns, String featureType);
 
 }