aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-06-13 14:22:16 +0000
committerstuconnolly <stuart02@gmail.com>2010-06-13 14:22:16 +0000
commitebd964e9a6d4b5975a806a4354f4df5ab28146d0 (patch)
tree7d7ec1977ee7059f041bf74b7e699550707e49e4 /Source/SPExportController.h
parentf286f3f05162e663fb6bc6abaf2a08b1e02d1d86 (diff)
downloadsequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.tar.gz
sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.tar.bz2
sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.zip
Exporter ehancements:
- Make sure the export button is disabled when the global structure, content and drop options are enabled, but the desellect all button is checked. - Replace the export dialog toolbar with a tabview, reducing the dialogs overall size. - Add the option to SQL dumps to specify when a new INSERT statement should be created, either after a certain amount of data or after a specific number of rows (defaults to every 250KiB). Known issue: incorrect VALUES clause generation of last row when creating a new INSERT after a specific number of rows.
Diffstat (limited to 'Source/SPExportController.h')
-rw-r--r--Source/SPExportController.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/SPExportController.h b/Source/SPExportController.h
index 476ffda4..df9fac0a 100644
--- a/Source/SPExportController.h
+++ b/Source/SPExportController.h
@@ -27,6 +27,7 @@
#import "SPConstants.h"
+@protocol NSTabViewDelegate;
@class MCPConnection, BWAnchoredButtonBar;
/**
@@ -36,7 +37,7 @@
*
* Export controller.
*/
-@interface SPExportController : NSWindowController
+@interface SPExportController : NSWindowController <NSTabViewDelegate>
{
// Controllers
IBOutlet id tableDocumentInstance;
@@ -46,11 +47,12 @@
IBOutlet id tableDataInstance;
// Export window
+ IBOutlet NSView *exporterView;
IBOutlet NSButton *exportButton;
- IBOutlet NSToolbar *exportToolbar;
IBOutlet NSTextField *exportPathField;
IBOutlet NSTableView *exportTableList;
- IBOutlet NSTabView *exportTabBar;
+ IBOutlet NSTabView *exportTypeTabBar;
+ IBOutlet NSTabView *exportOptionsTabBar;
IBOutlet NSPopUpButton *exportInputPopUpButton;
IBOutlet NSButton *exportFilePerTableCheck;
IBOutlet NSButton *exportSelectAllTablesButton;
@@ -92,6 +94,8 @@
IBOutlet NSButton *exportSQLIncludeContentCheck;
IBOutlet NSButton *exportSQLIncludeErrorsCheck;
IBOutlet NSButton *exportSQLBLOBFieldsAsHexCheck;
+ IBOutlet NSTextField *exportSQLInsertNValueTextField;
+ IBOutlet NSPopUpButton *exportSQLInsertDividerPopUpButton;
// Excel
IBOutlet NSMatrix *exportExcelSheetOrFilePerTableMatrix;
@@ -204,11 +208,6 @@
NSUserDefaults *prefs;
/**
- * Current toolbar item
- */
- NSToolbarItem *currentToolbarItem;
-
- /**
* Previous connection encoding
*/
NSString *sqlPreviousConnectionEncoding;