diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-16 00:31:09 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-16 00:31:09 +0000 |
commit | 280f8dcc22b5556a4ed56ae77116c5177cbbfa2c (patch) | |
tree | d38f27b278a65c2f258c80fb8377e5783ed1a71a /Source/SPAppController.m | |
parent | 487df2675fdc65933010ccf08ae0f5aa4ad92842 (diff) | |
download | sequelpro-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.m | 8 |
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) { |