diff options
author | stuconnolly <stuart02@gmail.com> | 2010-07-06 22:44:42 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-07-06 22:44:42 +0000 |
commit | 6119b140f51a57fcc9abcf28b14029bb97d13b48 (patch) | |
tree | 932cf5b913dd614fa70693a0e9441825993d7dd0 /Source | |
parent | 98321e0139af73928307da87ed31245b858e86d0 (diff) | |
download | sequelpro-6119b140f51a57fcc9abcf28b14029bb97d13b48.tar.gz sequelpro-6119b140f51a57fcc9abcf28b14029bb97d13b48.tar.bz2 sequelpro-6119b140f51a57fcc9abcf28b14029bb97d13b48.zip |
Rename TableDump to SPDataImport and fix export selected tables functionality.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.m | 2 | ||||
-rw-r--r-- | Source/SPDataImport.h (renamed from Source/TableDump.h) | 4 | ||||
-rw-r--r-- | Source/SPDataImport.m (renamed from Source/TableDump.m) | 6 | ||||
-rw-r--r-- | Source/SPDatabaseDocument.m | 10 | ||||
-rw-r--r-- | Source/SPFieldMapperController.m | 2 | ||||
-rw-r--r-- | Source/SPTablesList.m | 2 |
6 files changed, 13 insertions, 13 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index c5c2ed2d..fdedc1fe 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -28,7 +28,7 @@ #import "SPDatabaseDocument.h" #import "SPPreferenceController.h" #import "SPAboutController.h" -#import "TableDump.h" +#import "SPDataImport.h" #import "SPEncodingPopupAccessory.h" #import "SPConstants.h" #import "SPWindowController.h" diff --git a/Source/TableDump.h b/Source/SPDataImport.h index 9d27a952..c52ceae5 100644 --- a/Source/TableDump.h +++ b/Source/SPDataImport.h @@ -1,7 +1,7 @@ // // $Id$ // -// TableDump.h +// SPDataImport.h // sequel-pro // // Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. @@ -28,7 +28,7 @@ @class SPFieldMapperController, SPFileHandle; -@interface TableDump : NSObject +@interface SPDataImport : NSObject { IBOutlet id tableDocumentInstance; IBOutlet id tablesListInstance; diff --git a/Source/TableDump.m b/Source/SPDataImport.m index feb82a43..7b55c812 100644 --- a/Source/TableDump.m +++ b/Source/SPDataImport.m @@ -1,7 +1,7 @@ // // $Id$ // -// TableDump.m +// SPDataImport.m // sequel-pro // // Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. @@ -23,7 +23,7 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "TableDump.h" +#import "SPDataImport.h" #import "SPDatabaseDocument.h" #import "SPTablesList.h" #import "SPTableStructure.h" @@ -43,7 +43,7 @@ #import "SPNotLoaded.h" #import "SPFileHandle.h" -@implementation TableDump +@implementation SPDataImport #pragma mark - #pragma mark Initialisation diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 76793e3f..f18385c3 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -30,7 +30,7 @@ #import "SPTableStructure.h" #import "SPTableContent.h" #import "SPCustomQuery.h" -#import "TableDump.h" +#import "SPDataImport.h" #import "ImageAndTextCell.h" #import "SPGrowlController.h" #import "SPExportController.h" @@ -2346,7 +2346,7 @@ */ - (IBAction)exportSelectedTablesAs:(id)sender { - [exportControllerInstance exportTables:[tablesListInstance selectedTableItems] asFormat:[sender tag]]; + [exportControllerInstance exportTables:[tablesListInstance selectedTableItems] asFormat:[sender tag] usingSource:SPTableExport]; } #pragma mark - @@ -3417,7 +3417,7 @@ } /** - * Passes the request to the tableDump object + * Passes the request to the dataImport object */ - (IBAction)import:(id)sender { @@ -3425,7 +3425,7 @@ } /** - * Passes the request to the tableDump object + * Passes the request to the dataImport object */ - (IBAction)importFromClipboard:(id)sender { @@ -3433,7 +3433,7 @@ } /** - * Passes the request to the tableDump object + * Passes the request to the dataImport object */ - (IBAction)export:(id)sender { diff --git a/Source/SPFieldMapperController.m b/Source/SPFieldMapperController.m index 9f77398d..237da3cf 100644 --- a/Source/SPFieldMapperController.m +++ b/Source/SPFieldMapperController.m @@ -24,7 +24,7 @@ #import "SPFieldMapperController.h" #import "SPTableData.h" -#import "TableDump.h" +#import "SPDataImport.h" #import "SPTablesList.h" #import "SPArrayAdditions.h" #import "SPStringAdditions.h" diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m index d0d39eec..e1647cf7 100644 --- a/Source/SPTablesList.m +++ b/Source/SPTablesList.m @@ -29,7 +29,7 @@ #import "SPTableContent.h" #import "SPTableData.h" #import "SPTableInfo.h" -#import "TableDump.h" +#import "SPDataImport.h" #import "ImageAndTextCell.h" #import "SPStringAdditions.h" #import "SPArrayAdditions.h" |