Search in sources :

Example 1 with InsertColumnCommand

use of org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.InsertColumnCommand in project drools-wb by kiegroup.

the class ScenarioSimulationEventHandler method onEvent.

@Override
public void onEvent(InsertColumnEvent event) {
    context.getStatus().setColumnId(String.valueOf(new Date().getTime()));
    context.getStatus().setColumnIndex(event.getColumnIndex());
    context.getStatus().setRight(event.isRight());
    context.getStatus().setAsProperty(event.isAsProperty());
    commonExecution(new InsertColumnCommand(event.getGridWidget()), true);
}
Also used : InsertColumnCommand(org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.InsertColumnCommand) Date(java.util.Date)

Aggregations

Date (java.util.Date)1 InsertColumnCommand (org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.InsertColumnCommand)1