editResult.getOriginalPrimaryDataSource(), editResult.getPrimaryDataSource()));
undoEntries.add(new AttributeEditUndoEntry(chartElement.getObjectID(),
LegacyChartElementModule.NAMESPACE, LegacyChartElementModule.SECONDARY_DATA_COLLECTOR_FUNCTION_ATTRIBUTE,
editResult.getOriginalSecondaryDataSource(), editResult.getSecondaryDataSource()));
final CompoundUndoEntry ue = new CompoundUndoEntry(undoEntries.toArray(new UndoEntry[undoEntries.size()]));
activeContext.getUndo().addChange(Messages.getInstance().getString("EditLegacyChartAction.Undo"), ue);
ue.redo(context.getActiveContext());
}
}
catch (CloneNotSupportedException e1)
{
UncaughtExceptionsModel.getInstance().addException(e1);