From e30cdeb6ee289fc4221d7b3fc5ec9e58be059675 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 22 Nov 2010 07:42:35 +0000 Subject: =?UTF-8?q?=E2=80=A2=20renamed=20some=20shell=20variables=20for=20?= =?UTF-8?q?Bundle=20commands=20=E2=80=A2=20added=20sequelpro=20scheme=20co?= =?UTF-8?q?mmands:=20SelectTables,=20ReloadTablesList,=20ReloadContentTabl?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPDatabaseDocument.m | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Source/SPDatabaseDocument.m') diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 4ef38ef8..7c838a0e 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -4405,6 +4405,23 @@ return; } + if([command isEqualToString:@"SelectTables"]) { + if([params count] > 1) { + [tablesListInstance selectItemsWithNames:[params subarrayWithRange:NSMakeRange(1, [params count]-1)]]; + } + return; + } + + if([command isEqualToString:@"ReloadContentTable"]) { + [tablesListInstance updateTables:self]; + return; + } + + if([command isEqualToString:@"ReloadTablesList"]) { + [tableContentInstance reloadTable:self]; + return; + } + else if([command isEqualToString:@"SelectDatabase"]) { if (_isWorkingLevel) return; if([params count] > 1) { -- cgit v1.2.3