aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-25 08:59:35 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-25 08:59:35 +0000
commit74cb1152eeb0dcc83f12ea6cf040eacc4e15c551 (patch)
tree71ff5a4d8a069b3f2c8d46be4fe2a4854e42f9fc /Source/SPNavigatorController.h
parent32e858b26923b371a93e800687a13edf1254e445 (diff)
downloadsequelpro-74cb1152eeb0dcc83f12ea6cf040eacc4e15c551.tar.gz
sequelpro-74cb1152eeb0dcc83f12ea6cf040eacc4e15c551.tar.bz2
sequelpro-74cb1152eeb0dcc83f12ea6cf040eacc4e15c551.zip
• Navigator
- make usage of a notification sent by the [MCPConnection queryDbStructure] to update the navigator, and this decouples a doc window and MCPConnection from the navigator - minimized the tree update - now connectionID-based - any tree update will be now performed on main thread and waits until done to avoid 'overlapping' updates triggered by different notifications which normally ended up in an inchoate tree display
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r--Source/SPNavigatorController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h
index 09507464..94e8b6a3 100644
--- a/Source/SPNavigatorController.h
+++ b/Source/SPNavigatorController.h
@@ -57,13 +57,13 @@
+ (SPNavigatorController *)sharedNavigatorController;
- (IBAction)outlineViewAction:(id)sender;
-- (IBAction)updateEntries:(id)sender;
- (IBAction)reloadAllStructures:(id)sender;
- (IBAction)filterTree:(id)sender;
- (IBAction)syncButtonAction:(id)sender;
+- (void)updateEntriesForConnection:(NSString*)connectionID;
- (NSString*)tableInfoLabelForIndex:(NSInteger)index ofType:(NSInteger)type;
-
+- (void)updateNavigator:(NSNotification *)aNotification;
- (void)restoreSelectedItems;
- (void)setIgnoreUpdate:(BOOL)flag;
- (void)selectPath:(NSString*)schemaPath;