Search in sources :

Example 1 with BackgroundGridModel

use of org.drools.workbench.screens.scenariosimulation.client.models.BackgroundGridModel in project drools-wb by kiegroup.

the class ScenarioGridPanelProducer method init.

@PostConstruct
public void init() {
    scenarioSimulationContext = new ScenarioSimulationContext(simulationGridWidget, backgroundGridWidget);
    initializeGrid(simulationGridLayer, simulationGridPanel, new ScenarioGridModel(false), scenarioSimulationContext, 1, 0);
    initializeGrid(backgroundGridLayer, backgroundGridPanel, new BackgroundGridModel(false), scenarioSimulationContext, 0, 0);
}
Also used : ScenarioSimulationContext(org.drools.workbench.screens.scenariosimulation.client.commands.ScenarioSimulationContext) ScenarioGridModel(org.drools.workbench.screens.scenariosimulation.client.models.ScenarioGridModel) BackgroundGridModel(org.drools.workbench.screens.scenariosimulation.client.models.BackgroundGridModel) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 ScenarioSimulationContext (org.drools.workbench.screens.scenariosimulation.client.commands.ScenarioSimulationContext)1 BackgroundGridModel (org.drools.workbench.screens.scenariosimulation.client.models.BackgroundGridModel)1 ScenarioGridModel (org.drools.workbench.screens.scenariosimulation.client.models.ScenarioGridModel)1