final DefaultDataFactoryChangeRecorder changeRecorder = new DefaultDataFactoryChangeRecorder();
final DataFactory editDataFactory = grabAndRemoveEditDataFactory(o);
final DataSourcePlugin dataSourcePlugin = o.createEditor();
final DataFactory generatedDataFactory =
dataSourcePlugin.performEdit(getDesignTimeContext(), editDataFactory, null, changeRecorder);
if (generatedDataFactory != null)
{
final DataFactoryChange[] changes = changeRecorder.getChanges();
DefaultDataFactoryChangeRecorder.applyChanges(cdf, changes);