aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-05-28 16:21:37 +0000
committerstuconnolly <stuart02@gmail.com>2010-05-28 16:21:37 +0000
commit11c54136a6c919e933ec3c26a3eca512da9fae7b (patch)
treef3fddedab5463b4bc3a21bc6103a4f2d6aecaa7b /Source/SPNavigatorController.m
parenta3cdae0d22d41758152fd864f49bb894c1bd464e (diff)
downloadsequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.gz
sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.bz2
sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.zip
Rename TableDocument to SPDatabaseDocument.
Diffstat (limited to 'Source/SPNavigatorController.m')
-rw-r--r--Source/SPNavigatorController.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPNavigatorController.m b/Source/SPNavigatorController.m
index 738430d4..08e7b847 100644
--- a/Source/SPNavigatorController.m
+++ b/Source/SPNavigatorController.m
@@ -27,7 +27,7 @@
#import "SPNavigatorOutlineView.h"
#import "SPConstants.h"
#import "ImageAndTextCell.h"
-#import "TableDocument.h"
+#import "SPDatabaseDocument.h"
#import "SPTablesList.h"
#import "SPArrayAdditions.h"
#import "SPLogger.h"
@@ -384,7 +384,7 @@ static SPNavigatorController *sharedNavigatorController = nil;
NSArray *pathArray = [[[parentKeys objectAtIndex:0] description] componentsSeparatedByString:SPUniqueSchemaDelimiter];
if([pathArray count] > 1) {
- TableDocument *doc = [[NSApp delegate] frontDocument];
+ SPDatabaseDocument *doc = [[NSApp delegate] frontDocument];
if([doc isWorking]) {
[SPTooltip showWithObject:NSLocalizedString(@"Active connection window is busy. Please wait and try again.", @"active connection window is busy. please wait and try again. tooltip")
atLocation:pos
@@ -412,7 +412,7 @@ static SPNavigatorController *sharedNavigatorController = nil;
id object = [aNotification object];
- if([object isKindOfClass:[TableDocument class]])
+ if([object isKindOfClass:[SPDatabaseDocument class]])
[self performSelectorOnMainThread:@selector(updateEntriesForConnection:) withObject:object waitUntilDone:NO];
else
[self performSelectorOnMainThread:@selector(updateEntriesForConnection:) withObject:nil waitUntilDone:NO];
@@ -432,7 +432,7 @@ static SPNavigatorController *sharedNavigatorController = nil;
}
- if (doc && [doc isKindOfClass:[TableDocument class]]) {
+ if (doc && [doc isKindOfClass:[SPDatabaseDocument class]]) {
id theConnection = [doc valueForKeyPath:@"mySQLConnection"];
@@ -742,7 +742,7 @@ static SPNavigatorController *sharedNavigatorController = nil;
[searchField setStringValue:@""];
}
- TableDocument *doc = [[NSApp delegate] frontDocument];
+ SPDatabaseDocument *doc = [[NSApp delegate] frontDocument];
if (doc) {
NSMutableString *key = [NSMutableString string];
[key setString:[doc connectionID]];