JAL-1944 updated bugfix implementation
[jalview.git] / src / jalview / api / AlignViewportI.java
index 45e77ba..9d5c075 100644 (file)
@@ -240,6 +240,19 @@ public interface AlignViewportI extends ViewStyleI
    * @return String[]
    */
   String[] getViewAsString(boolean selectedRegionOnly);
+  
+  /**
+   * This method returns the visible alignment as text, as seen on the GUI, ie
+   * if columns are hidden they will not be returned in the result. However, If
+   * there are hidden sequences, isExportHiddenSeqs flag decides if they would
+   * be exported or not. Use this for calculating trees, PCA, redundancy etc on
+   * views which contain hidden columns.
+   * 
+   * @param selectedRegionOnly
+   * @param isExportHiddenSeqs
+   * @return String[]
+   */
+  String[] getViewAsString(boolean selectedRegionOnly, boolean isExportHiddenSeqs);
 
   void setSelectionGroup(SequenceGroup sg);
 
@@ -376,5 +389,6 @@ public interface AlignViewportI extends ViewStyleI
    */
   void setFollowHighlight(boolean b);
 
+
   public void applyFeaturesStyle(FeatureSettingsModelI featureSettings);
 }