Search in sources :

Example 1 with PrependColumnCommand

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

the class ScenarioSimulationEventHandler method onEvent.

@Override
public void onEvent(PrependColumnEvent event) {
    context.getStatus().setColumnId(String.valueOf(new Date().getTime()));
    context.getStatus().setColumnGroup(event.getColumnGroup());
    commonExecution(new PrependColumnCommand(event.getGridWidget()), true);
}
Also used : Date(java.util.Date) PrependColumnCommand(org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.PrependColumnCommand)

Aggregations

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