From 74cb1152eeb0dcc83f12ea6cf040eacc4e15c551 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 25 Mar 2010 08:59:35 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Navigator=20-=20make=20usage=20of=20a=20not?= =?UTF-8?q?ification=20sent=20by=20the=20[MCPConnection=20queryDbStructure?= =?UTF-8?q?]=20to=20update=20the=20navigator,=20and=20this=20decouples=20a?= =?UTF-8?q?=20doc=20window=20and=20MCPConnection=20from=20the=20navigator?= =?UTF-8?q?=20-=20minimized=20the=20tree=20update=20-=20now=20connectionID?= =?UTF-8?q?-based=20-=20any=20tree=20update=20will=20be=20now=20performed?= =?UTF-8?q?=20on=20main=20thread=20and=20waits=20until=20done=20to=20avoid?= =?UTF-8?q?=20'overlapping'=20updates=20triggered=20by=20different=20notif?= =?UTF-8?q?ications=20which=20normally=20ended=20up=20in=20an=20inchoate?= =?UTF-8?q?=20tree=20display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TableDocument.m | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Source/TableDocument.m') diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 949f2a68..0a68eda2 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -1148,7 +1148,7 @@ BOOL isNavigatorVisible = [[[SPNavigatorController sharedNavigatorController] window] isVisible]; if(!isNavigatorVisible) { - [[SPNavigatorController sharedNavigatorController] updateEntries:self]; + [[SPNavigatorController sharedNavigatorController] updateEntriesForConnection:[self connectionID]]; } // Show or hide the navigator @@ -1166,16 +1166,6 @@ } } -/* - * Called from MCPConnection or self to inform the navigator that an instance invoked queryDbStructure - * or a window was closed - */ -- (void)updateNavigator:(id)sender -{ - if([[[SPNavigatorController sharedNavigatorController] window] isVisible]) - [[SPNavigatorController sharedNavigatorController] updateEntries:self]; -} - #pragma mark - #pragma mark Task progress and notification methods -- cgit v1.2.3