use of org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.UpdateSettingsDataCommand in project drools-wb by kiegroup.
the class ScenarioSimulationEventHandler method onEvent.
@Override
public void onEvent(UpdateSettingsDataEvent updateSettingsDataEvent) {
if (updateSettingsDataEvent.getSettingsValueChanged().test(context.getScenarioSimulationModel().getSettings())) {
commonExecution(new UpdateSettingsDataCommand(updateSettingsDataEvent.getSettingsChangeToApply(), updateSettingsDataEvent.isDmnPathChanged()), false);
scenarioSimulationEditorPresenter.unpublishTestResultsAlerts();
}
}
Aggregations