else if (insertResult instanceof ParameterDefinitionEntry)
{
final ParameterDefinitionEntry insertParam = (ParameterDefinitionEntry) insertResult;
final ReportParameterDefinition definition = activeContext.getMasterReportElement().getParameterDefinition();
final int index = definition.getParameterCount() - 1;
undos.add(new ParameterEditUndoEntry(index, null, insertParam));
}
else if (insertResult instanceof DataFactory)
{
final DataFactory insertDataFactory = (DataFactory) insertResult;
final CompoundDataFactory compoundDataFactory = (CompoundDataFactory) activeContext.getReportDefinition().getDataFactory();