diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-22 07:42:35 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-22 07:42:35 +0000 |
commit | e30cdeb6ee289fc4221d7b3fc5ec9e58be059675 (patch) | |
tree | a6b3bc9aa0d3676dd25081bc93f79631678d1cd0 /Source/SPDatabaseDocument.m | |
parent | 20c836954dce8f0d07788003b44e44990ac3a29d (diff) | |
download | sequelpro-e30cdeb6ee289fc4221d7b3fc5ec9e58be059675.tar.gz sequelpro-e30cdeb6ee289fc4221d7b3fc5ec9e58be059675.tar.bz2 sequelpro-e30cdeb6ee289fc4221d7b3fc5ec9e58be059675.zip |
• renamed some shell variables for Bundle commands
• added sequelpro scheme commands: SelectTables, ReloadTablesList, ReloadContentTable
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 17 |
1 files changed, 17 insertions, 0 deletions
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) { |