aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-03 13:00:46 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-03 13:00:46 +0000
commit61adeb9f4ad973a93ce35ac4ebf6068f2beac6ca (patch)
tree81c499d06c5be9773093657b070eda5529d58d6b /Source/SPFieldMapperController.h
parentca60d2e7bdec4763489e79ff4c457c32cd1f57db (diff)
downloadsequelpro-61adeb9f4ad973a93ce35ac4ebf6068f2beac6ca.tar.gz
sequelpro-61adeb9f4ad973a93ce35ac4ebf6068f2beac6ca.tar.bz2
sequelpro-61adeb9f4ad973a93ce35ac4ebf6068f2beac6ca.zip
• further progress for CSV import into new table
- added some GUI validations - in new table mode changed 'type' column into self-learning NSComboBoxCells - fixed issue for closing sheet if user press RETURN, only close it if 'Import' button is enable
Diffstat (limited to 'Source/SPFieldMapperController.h')
-rw-r--r--Source/SPFieldMapperController.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPFieldMapperController.h b/Source/SPFieldMapperController.h
index da5b6ca2..b824e3ed 100644
--- a/Source/SPFieldMapperController.h
+++ b/Source/SPFieldMapperController.h
@@ -76,6 +76,8 @@
IBOutlet id advancedReplaceView;
IBOutlet id advancedUpdateView;
+ IBOutlet NSComboBoxCell *typeComboxBox;
+
id theDelegate;
id customQueryInstance;
id fieldMappingImportArray;
@@ -91,6 +93,8 @@
NSMutableArray *fieldMappingGlobalValues;
NSMutableArray *fieldMappingGlobalValuesSQLMarked;
NSMutableArray *fieldMappingTableDefaultValues;
+ NSMutableArray *defaultFieldTypesForComboBox;
+
NSNumber *doImport;
NSNumber *doNotImport;
@@ -106,6 +110,7 @@
BOOL showAdvancedView;
BOOL targetTableHasPrimaryKey;
BOOL newTableMode;
+ BOOL addGlobalSheetIsOpen;
NSString *primaryKeyField;
NSNumber *lastDisabledCSVFieldcolumn;
@@ -142,6 +147,7 @@
- (BOOL)importIntoNewTable;
- (NSString*)onupdateString;
- (NSString*)importHeaderString;
+- (BOOL)canBeClosed;
// IBAction methods
- (IBAction)changeTableTarget:(id)sender;