aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-11 12:43:46 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-11 12:43:46 +0000
commitf5a548c05eb23afd80d3c7f105233542b0cfe8aa (patch)
treea822cf20087f43a9942769c1ded82735a592ceed /Source/SPAppController.m
parentf633a067d2120cca67fd1b2782688424cadde9d4 (diff)
downloadsequelpro-f5a548c05eb23afd80d3c7f105233542b0cfe8aa.tar.gz
sequelpro-f5a548c05eb23afd80d3c7f105233542b0cfe8aa.tar.bz2
sequelpro-f5a548c05eb23afd80d3c7f105233542b0cfe8aa.zip
• added to Bundle shell command these variables:
SP_ALL_DATABASES, SP_ALL_TABLES, SP_ALL_VIEWS, SP_ALL_FUNCTIONS, SP_ALL_PROCEDURES, SP_RDBMS_VERSION, SP_RDBMS_TYPE [hard-coded yet ;)] • some minor improvements to editor Bundle support • fixed issue while running a bash command that the SP GUI doesn't block • added first sequelpro url scheme functionality - sequelpro://$SP_PROCESS_ID/passToDoc/SelectTable/a_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name/a_table_name
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index adb4eb95..c6c5c44a 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -551,6 +551,15 @@
}
}
+
+ if(processDocument && command && [command isEqualToString:@"passToDoc"]) {
+ NSMutableDictionary *cmdDict = [NSMutableDictionary dictionary];
+ [cmdDict setObject:parameter forKey:@"parameter"];
+ [cmdDict setObject:passedProcessID forKey:@"id"];
+ [processDocument handleSchemeCommand:cmdDict];
+ return;
+ }
+
if(processDocument)
NSLog(@"process doc ID: %@\n%@", [processDocument processID], [processDocument tabTitleForTooltip]);
else