aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-24 02:30:55 +0000
committerrowanbeentje <rowan@beent.je>2010-03-24 02:30:55 +0000
commit1ddc896d2f88bea86e4b0457d63f7a53b846851d (patch)
treeddd832d0b0317905d815e30ca3c0df3b1058a12a /Source/TableDocument.h
parentc2351f2220ac01cac614de93bad05022d89d7790 (diff)
downloadsequelpro-1ddc896d2f88bea86e4b0457d63f7a53b846851d.tar.gz
sequelpro-1ddc896d2f88bea86e4b0457d63f7a53b846851d.tar.bz2
sequelpro-1ddc896d2f88bea86e4b0457d63f7a53b846851d.zip
- Add a new selectDatabase:item: method to TableDocument, to centralise code for selecting databases and tables. Clean up database selection to use this new method, and avoid reloads when re-selecting the same database.
- Convert the history controller to use this new call. This fixes history behaviour when a table list filter was active. - Convert the (hidden) navigator to use this new call. This fixes timing issues. - Make some thread safety tweaks to TablesList. - Change TablesList selectTableOrViewWithName: to selectItemWithName:, including procs etc.
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r--Source/TableDocument.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h
index c1dd92a6..5178ef56 100644
--- a/Source/TableDocument.h
+++ b/Source/TableDocument.h
@@ -180,7 +180,7 @@
// Database methods
- (IBAction)setDatabases:(id)sender;
- (IBAction)chooseDatabase:(id)sender;
-- (void)chooseDatabaseTask;
+- (void)selectDatabase:(NSString *)aDatabase item:(NSString *)anItem;
- (IBAction)addDatabase:(id)sender;
- (IBAction)removeDatabase:(id)sender;
- (IBAction)showMySQLHelp:(id)sender;