public interface DataSourceConfigFactory
DesignerDataSourceRegistry
Modifier and Type | Method and Description |
---|---|
DataSourceConfigPanel |
createConfigPanel(DesignerContext context,
ReportResource report,
java.io.Serializable configObject)
Create a new
DataSourceConfigPanel which will be used to display
and alter the configuration of a config object. |
com.google.common.base.Optional |
getDataKeyForConfigObject(java.io.Serializable configObject)
Returns the top level data key for this data source
|
java.lang.String |
getDisplayName()
A human friendly name for this type of data source
|
java.lang.String |
getId()
Return a unique ID for this type of datasource.
|
javax.swing.Icon |
getSmallIcon()
An optional small (16x16) icon representing your data source type
|
java.io.Serializable |
newConfigObject()
Create a new, unconfigured copy of the object used to store the configuration of an instance of this data source.
|
java.lang.String getId()
java.lang.String getDisplayName()
javax.swing.Icon getSmallIcon()
java.io.Serializable newConfigObject()
DataSourceConfigPanel createConfigPanel(DesignerContext context, ReportResource report, java.io.Serializable configObject)
DataSourceConfigPanel
which will be used to display
and alter the configuration of a config object.com.google.common.base.Optional getDataKeyForConfigObject(java.io.Serializable configObject)