JAL-1780 JAL-653 moved AlignExportSettings reference on AlignViewportI to FileParse...
[jalview.git] / src / jalview / io / FileParse.java
index f9c717d..690e22a 100755 (executable)
@@ -20,6 +20,7 @@
  */
 package jalview.io;
 
+import jalview.api.AlignExportSettingI;
 import jalview.api.AlignViewportI;
 import jalview.util.MessageManager;
 
@@ -52,6 +53,10 @@ public class FileParse
   private AlignViewportI viewport;
 
   public int index = 1; // sequence counter for FileParse object created from
+  /**
+   * specific settings for exporting data from the current context
+   */
+  private AlignExportSettingI exportSettings;
 
   // same data source
 
@@ -501,4 +506,23 @@ public class FileParse
   {
     this.viewport = viewport;
   }
+
+  /**
+   * @return the currently configured exportSettings for writing data.
+   */
+  public AlignExportSettingI getExportSettings()
+  {
+    return exportSettings;
+  }
+
+  /**
+   * Set configuration for export of data.
+   * 
+   * @param exportSettings
+   *          the exportSettings to set
+   */
+  public void setExportSettings(AlignExportSettingI exportSettings)
+  {
+    this.exportSettings = exportSettings;
+  }
 }