X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignExportSettingI.java;h=31d09401557cdaefde5444166e475c1c0f900b08;hb=2cbf9d005db462396fa1dc0750aa63a2e6cd0735;hp=18f529b05f104d2ca4070cb9fe9ae99d9df17a20;hpb=8d037894e71f86cf2a9d7218b65c46e63904e50d;p=jalview.git diff --git a/src/jalview/api/AlignExportSettingI.java b/src/jalview/api/AlignExportSettingI.java index 18f529b..31d0940 100644 --- a/src/jalview/api/AlignExportSettingI.java +++ b/src/jalview/api/AlignExportSettingI.java @@ -21,53 +21,30 @@ package jalview.api; +import jalview.datamodel.AlignExportSettingBeanI; +import jalview.datamodel.AlignmentExportData; + +import java.awt.event.ActionListener; + /** - * Abstract interface implemented by Alignment Export dialog to retrieve user - * configurations - * - * @author tcnofoegbu + * additional methods implemented by the export settings dialog * */ -public interface AlignExportSettingI +public interface AlignExportSettingI extends AlignExportSettingBeanI { - /** - * Checks if hidden sequences should be exported - * - * @return - */ - public boolean isExportHiddenSequences(); + AlignmentExportData getAlignExportData(); + /** - * Checks if hidden columns shoulb be exported - * - * @return + * the export data action to be performed - make sure you check isCancelled in this method first + * @param actionListener */ - public boolean isExportHiddenColumns(); - /** - * Checks if Annotations should be exported, note this is available for - * complex flat file exports like JSON, HTML, GFF - * - * @return - */ - public boolean isExportAnnotations(); + public void addActionListener(ActionListener actionListener); /** - * Checks if SequenceFeatures should be exported, note this is available for - * complex flat file exports like JSON, HTML, GFF - * - * @return + * show the dialog */ - public boolean isExportFeatures(); - - /** - * Checks if SequenceGroups should be exported, note this is available for - * complex flat file exports like JSON, HTML, GFF - * - * @return - */ - public boolean isExportGroups(); - - public boolean isCancelled(); + public void doShowSettings(); }