aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-03 21:15:32 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-03 21:15:32 +0000
commit7a5af6632f0c6797466372358327ddd75a4e7f22 (patch)
treeb1b802ca9a165c16968d7f6c794b95b9aa61fb0a /Source/SPFieldMapperController.h
parent61adeb9f4ad973a93ce35ac4ebf6068f2beac6ca (diff)
downloadsequelpro-7a5af6632f0c6797466372358327ddd75a4e7f22.tar.gz
sequelpro-7a5af6632f0c6797466372358327ddd75a4e7f22.tar.bz2
sequelpro-7a5af6632f0c6797466372358327ddd75a4e7f22.zip
• further improvements for CSV import into new table
- fixed some RETURN/ENTER logic while editing a table cell - added context menu to table for: -- 'Set all Field Types to:' which sets all types to the current selected one ⌘= -- 'Add Column to Table Target' (not yet implemented) - some minor code issues - added Info button which will come up with a GUI for setting new table encoding and engine (not yet implemented)
Diffstat (limited to 'Source/SPFieldMapperController.h')
-rw-r--r--Source/SPFieldMapperController.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/SPFieldMapperController.h b/Source/SPFieldMapperController.h
index b824e3ed..17b6db9a 100644
--- a/Source/SPFieldMapperController.h
+++ b/Source/SPFieldMapperController.h
@@ -30,7 +30,7 @@
@interface SPFieldMapperController : NSWindowController
{
- IBOutlet id fieldMapperTableView;
+ IBOutlet SPTableView *fieldMapperTableView;
IBOutlet id fieldMapperTableScrollView;
IBOutlet NSTableView *globalValuesTableView;
IBOutlet NSPopUpButton *tableTargetPopup;
@@ -48,9 +48,12 @@
IBOutlet id importMethodLabel;
IBOutlet id advancedLabel;
IBOutlet NSMenuItem *matchingNameMenuItem;
+ IBOutlet NSMenuItem *addNewColumnMenuItem;
+ IBOutlet NSMenuItem *setAllTypesToMenuItem;
IBOutlet NSTextField *newTableNameTextField;
IBOutlet NSTextField *newTableNameLabel;
+ IBOutlet NSButton *newTableNameInfoButton;
IBOutlet id globalValuesSheet;
IBOutlet NSButton *addGlobalValueButton;
@@ -148,6 +151,7 @@
- (NSString*)onupdateString;
- (NSString*)importHeaderString;
- (BOOL)canBeClosed;
+- (BOOL)isGlobalValueSheetOpen;
// IBAction methods
- (IBAction)changeTableTarget:(id)sender;
@@ -166,6 +170,9 @@
- (IBAction)closeGlobalValuesSheet:(id)sender;
- (IBAction)advancedCheckboxValidation:(id)sender;
+- (IBAction)addNewColumn:(id)sender;
+- (IBAction)setAllTypesTo:(id)sender;
+
// Others
- (void)resizeWindowByHeightDelta:(NSInteger)delta;
- (void)matchHeaderNames;