From 7a5af6632f0c6797466372358327ddd75a4e7f22 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 3 Sep 2010 21:15:32 +0000 Subject: =?UTF-8?q?=E2=80=A2=20further=20improvements=20for=20CSV=20import?= =?UTF-8?q?=20into=20new=20table=20-=20fixed=20some=20RETURN/ENTER=20logic?= =?UTF-8?q?=20while=20editing=20a=20table=20cell=20-=20added=20context=20m?= =?UTF-8?q?enu=20to=20table=20for:=20--=20'Set=20all=20Field=20Types=20to:?= =?UTF-8?q?'=20which=20sets=20all=20types=20to=20the=20current=20selected?= =?UTF-8?q?=20one=20=E2=8C=98=3D=20--=20'Add=20Column=20to=20Table=20Targe?= =?UTF-8?q?t'=20(not=20yet=20implemented)=20-=20some=20minor=20code=20issu?= =?UTF-8?q?es=20-=20added=20Info=20button=20which=20will=20come=20up=20wit?= =?UTF-8?q?h=20a=20GUI=20for=20setting=20new=20table=20encoding=20and=20en?= =?UTF-8?q?gine=20(not=20yet=20implemented)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPFieldMapperController.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Source/SPFieldMapperController.h') 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; -- cgit v1.2.3