@Override
protected void updateTotals(ExecutionContext context) {
super.updateTotals(context);
// also update the current levels total in the module
Module module = context.getExecutionData().getModule();
int currentLevelTotal = levelTotalProperty.getValue(module, this, 0);
for (Trial trial : context.getExecutionData().getTrials()) {
currentLevelTotal += levelTotalProperty.getValue(trial, this, 0);
}
levelTotalProperty.setValue(module, this, currentLevelTotal);