final ExpressionCollection expressionCollection = report.getExpressions();
final int idx = expressionCollection.indexOf(function);
expressionCollection.set(idx, instance);
activeContext.getUndo().addChange(ActionMessages.getString("EditRowBandingAction.Text"),
new ExpressionEditUndoEntry(idx, function, instance));
report.fireModelLayoutChanged(report, ReportModelEvent.NODE_PROPERTIES_CHANGED, instance);
}
}
}
private RowBandingFunction findRowbandingFunction(final ReportDocumentContext activeContext)