protected void initPlugins(IDataSourceProducer producer, AbstractDataSource<?> source,
ITextTarget target) {
super.initPlugins(producer, source, target);
NumberToStringDataAdapter numberAdapter = getNumberAdapter(source);
if (numberAdapter != null) {
FormatPlugin foundedPlugin = getPlugin(target, FormatPlugin.class);
if (foundedPlugin != null) {
try {
foundedPlugin.addPlugin(source.getOriginDescriptor(), numberAdapter);
}
catch (UnhandledDataTypeException e) {
e.printStackTrace();
}
}