aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-22 07:42:35 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-22 07:42:35 +0000
commite30cdeb6ee289fc4221d7b3fc5ec9e58be059675 (patch)
treea6b3bc9aa0d3676dd25081bc93f79631678d1cd0 /Source/SPDatabaseDocument.m
parent20c836954dce8f0d07788003b44e44990ac3a29d (diff)
downloadsequelpro-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.m17
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) {