From 8af7ab7046ab834bc392a0eb31128c7d0647fd53 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 9 Jun 2010 23:13:28 +0000 Subject: Exporter enhancements, including: - Move the custom filename options view to a drop down view on the main exporter dialog. - Change the export data source matrix to a popup button. - Fix the export button being enabled when no tables are selected to be exported. - Various interface validation fixes. --- Source/SPExportController.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Source/SPExportController.h') diff --git a/Source/SPExportController.h b/Source/SPExportController.h index 7788ef0e..476ffda4 100644 --- a/Source/SPExportController.h +++ b/Source/SPExportController.h @@ -51,13 +51,13 @@ IBOutlet NSTextField *exportPathField; IBOutlet NSTableView *exportTableList; IBOutlet NSTabView *exportTabBar; - IBOutlet NSMatrix *exportInputMatrix; + IBOutlet NSPopUpButton *exportInputPopUpButton; IBOutlet NSButton *exportFilePerTableCheck; - IBOutlet NSTextField *exportFilePerTableNote; IBOutlet NSButton *exportSelectAllTablesButton; IBOutlet NSButton *exportDeselectAllTablesButton; IBOutlet NSButton *exportRefreshTablesButton; IBOutlet NSScrollView *exportTablelistScrollView; + IBOutlet NSBox *exportFilenameDividerBox; // Errors sheet IBOutlet NSWindow *errorsWindow; @@ -80,11 +80,11 @@ IBOutlet NSProgressIndicator *exportProgressIndicator; // Custom filename view + IBOutlet NSButton *exportCustomFilenameViewButton; + IBOutlet NSButton *exportCustomFilenameViewLabelButton; IBOutlet NSView *exportCustomFilenameView; - IBOutlet NSButton *exportCustomFilenameButton; IBOutlet NSTokenField *exportCustomFilenameTokenField; IBOutlet NSTokenField *exportCustomFilenameTokensField; - IBOutlet NSTextField *exportCustomFilenameExampleTextField; // SQL IBOutlet NSButton *exportSQLIncludeStructureCheck; @@ -193,6 +193,11 @@ */ BOOL showAdvancedView; + /** + * Display custom filename view flag. + */ + BOOL showCustomFilenameView; + /** * User defaults */ @@ -252,7 +257,7 @@ - (IBAction)changeExportOutputPath:(id)sender; - (IBAction)refreshTableList:(id)sender; - (IBAction)selectDeselectAllTables:(id)sender; -- (IBAction)toggleCustomFilenameFormat:(id)sender; +- (IBAction)toggleCustomFilenameFormatView:(id)sender; - (IBAction)toggleAdvancedExportOptionsView:(id)sender; - (IBAction)toggleSQLIncludeStructure:(id)sender; -- cgit v1.2.3