aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDotExporterDelegate.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-25 08:20:29 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-25 08:20:29 +0000
commiteb65e7845ea93a0200b304bd63f88415762fa29a (patch)
tree60d5d9a5d213b7ed42c58142a6e08fc062a2c4f5 /Source/SPDotExporterDelegate.m
parent687d564c85cefca3d378fed7be6c40f30b6b55b6 (diff)
downloadsequelpro-eb65e7845ea93a0200b304bd63f88415762fa29a.tar.gz
sequelpro-eb65e7845ea93a0200b304bd63f88415762fa29a.tar.bz2
sequelpro-eb65e7845ea93a0200b304bd63f88415762fa29a.zip
Export tidy up.
Diffstat (limited to 'Source/SPDotExporterDelegate.m')
-rw-r--r--Source/SPDotExporterDelegate.m17
1 files changed, 1 insertions, 16 deletions
diff --git a/Source/SPDotExporterDelegate.m b/Source/SPDotExporterDelegate.m
index 2d1e4b46..2ed60126 100644
--- a/Source/SPDotExporterDelegate.m
+++ b/Source/SPDotExporterDelegate.m
@@ -29,9 +29,6 @@
@implementation SPExportController (SPDotExporterDelegate)
-/**
- *
- */
- (void)dotExportProcessWillBegin:(SPDotExporter *)exporter
{
[[exportProgressTitle onMainThread] setStringValue:NSLocalizedString(@"Exporting Dot File", @"text showing that the application is exporting a Dot file")];
@@ -43,9 +40,6 @@
[[exportProgressIndicator onMainThread] setIndeterminate:NO];
}
-/**
- *
- */
- (void)dotExportProcessComplete:(SPDotExporter *)exporter
{
[NSApp endSheet:exportProgressWindow returnCode:0];
@@ -54,23 +48,17 @@
[tableDocumentInstance setQueryMode:SPInterfaceQueryMode];
// Restore the connection encoding to it's pre-export value
- [tableDocumentInstance setConnectionEncoding:[NSString stringWithFormat:@"%@%@", sqlPreviousConnectionEncoding, (sqlPreviousConnectionEncodingViaLatin1) ? @"-" : @""] reloadingViews:NO];
+ [tableDocumentInstance setConnectionEncoding:[NSString stringWithFormat:@"%@%@", previousConnectionEncoding, (previousConnectionEncodingViaLatin1) ? @"-" : @""] reloadingViews:NO];
// Display Growl notification
[self displayExportFinishedGrowlNotification];
}
-/**
- *
- */
- (void)dotExportProcessProgressUpdated:(SPDotExporter *)exporter
{
[exportProgressIndicator setDoubleValue:[exporter exportProgressValue]];
}
-/**
- *
- */
- (void)dotExportProcessWillBeginFetchingData:(SPDotExporter *)exporter forTableWithIndex:(NSUInteger)tableIndex
{
// Update the current table export index
@@ -81,9 +69,6 @@
[exportProgressText displayIfNeeded];
}
-/**
- *
- */
- (void)dotExportProcessWillBeginFetchingRelationsData:(SPDotExporter *)exporter
{
[[exportProgressText onMainThread] setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %lu of %lu (%@): Fetching relations data...", @"export label showing app is fetching relations data for a specific table"), currentTableExportIndex, exportTableCount, [exporter dotExportCurrentTable]]];