aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-16 00:31:09 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-16 00:31:09 +0000
commit280f8dcc22b5556a4ed56ae77116c5177cbbfa2c (patch)
treed38f27b278a65c2f258c80fb8377e5783ed1a71a /Source/SPAppController.m
parent487df2675fdc65933010ccf08ae0f5aa4ad92842 (diff)
downloadsequelpro-280f8dcc22b5556a4ed56ae77116c5177cbbfa2c.tar.gz
sequelpro-280f8dcc22b5556a4ed56ae77116c5177cbbfa2c.tar.bz2
sequelpro-280f8dcc22b5556a4ed56ae77116c5177cbbfa2c.zip
• Bundle support
- added skeleton for scope datatable support - removed unnecessary code
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index d64b5183..eb013e48 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -969,11 +969,13 @@
// Add installed Bundles
[menu addItem:[NSMenuItem separatorItem]];
- NSArray *scopes = [NSArray arrayWithObjects:SPBundleScopeInputField, SPBundleScopeQueryEditor, nil];
+ NSArray *scopes = [NSArray arrayWithObjects:SPBundleScopeInputField, SPBundleScopeQueryEditor, SPBundleScopeDataTable, nil];
NSArray *scopeTitles = [NSArray arrayWithObjects:NSLocalizedString(@"Input Fields", @"input fields menu item label"),
- NSLocalizedString(@"Query Editor", @"query editor menu item label"), nil];
+ NSLocalizedString(@"Query Editor", @"query editor menu item label"),
+ NSLocalizedString(@"Data Table", @"data table menu item label"),nil];
NSArray *scopeSelector = [NSArray arrayWithObjects:@"executeBundleItemForInputField:",
- @"executeBundleItemForEditor:", nil];
+ @"executeBundleItemForEditor:",
+ @"executeBundleItemForDataTable:", nil];
NSInteger k = 0;
for(NSString* scope in scopes) {