Bug 416973 - Add option to disable the two Scripted Data Sources
Summary: Add option to disable the two Scripted Data Sources
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportDesigner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 20:06 EDT by Jesse Weinstein CLA
Modified: 2013-09-10 20:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Weinstein CLA 2013-09-10 20:06:09 EDT
All the Data Sources except for the two Scripted Data Sources can be added or removed from the RCP Report Designer simply by including or not including their respective plugins (usually under org.eclipse.birt.report.data.oda.*) in the product configuration file. 

But the only way to disable the Scripted Data Sources appears to be to modify org.eclipse.birt.report.designer.data.ui.datasource.DataSourceSelectionHelper.getFilteredDataSourceArray() and remove them from the returned list. This is clumsy, and requires modifying a whole separate plugin that could otherwise be left alone. It would be better if the Scripted Data Sources had their own plugins, which defined org.eclipse.datatools.connectivity.oda.dataSource just like everyone else, and which could be disabled just like everyone else. 

But if that isn't feasible, it would be nice if there was at least a configuration option to disable them, that didn't require modifying a plugin. I may try to contribute a patch for this later.