aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-23 14:20:26 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-23 14:20:26 +0000
commitcc5aa6c295b6072b5feedc1b912df264c34a9edb (patch)
treecd247e012e95c137dc5c6bf77cbad048e9daf0f3 /Source/SPDatabaseDocument.m
parent9f5c7db05e8a999df38b200d93031b1475adf5dc (diff)
downloadsequelpro-cc5aa6c295b6072b5feedc1b912df264c34a9edb.tar.gz
sequelpro-cc5aa6c295b6072b5feedc1b912df264c34a9edb.tar.bz2
sequelpro-cc5aa6c295b6072b5feedc1b912df264c34a9edb.zip
• Bundle Editor
- fixed gui arragement - suppress error message if no ouptut key found in command.plist • added sequelpro://ID@/passToDoc/SelectTableRows/1/3/4/.. scheme command which selects given rows in current table if a SPCopyTable is the first responder; not valid given rows are ignored • added SP_SELECTED_ROW_INDICES as passed shell variable for Data Table scope
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 4626f031..270892f0 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -4563,6 +4563,13 @@
return;
}
+ if([command isEqualToString:@"SelectTableRows"]) {
+ if([params count] > 1 && [[[NSApp mainWindow] firstResponder] respondsToSelector:@selector(selectTableRows:)]) {
+ [[[NSApp mainWindow] firstResponder] selectTableRows:[params subarrayWithRange:NSMakeRange(1, [params count]-1)]];
+ }
+ return;
+ }
+
if([command isEqualToString:@"ReloadContentTable"]) {
[tableContentInstance reloadTable:self];
return;