Search in sources :

Example 1 with DeleteColumnCommand

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

the class ScenarioSimulationEventHandler method onEvent.

@Override
public void onEvent(DeleteColumnEvent event) {
    context.getStatus().setColumnIndex(event.getColumnIndex());
    context.getStatus().setColumnGroup(event.getColumnGroup());
    context.getStatus().setDisable(true);
    context.getStatus().setOpenDock(false);
    context.getStatus().setAsProperty(event.isAsProperty());
    commonExecution(new DeleteColumnCommand(event.getGridWidget()), true);
}
Also used : DeleteColumnCommand(org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.DeleteColumnCommand)

Aggregations

DeleteColumnCommand (org.drools.workbench.screens.scenariosimulation.client.commands.actualcommands.DeleteColumnCommand)1