use of org.drools.workbench.screens.guided.dtable.client.widget.analysis.controller.ValidateEvent in project drools-wb by kiegroup.
the class ModelSynchronizerImpl method fireValidateEvent.
protected void fireValidateEvent(final GridData.Range rowRange, final Set<Integer> columnRange) {
final int minRowIndex = rowRange.getMinRowIndex();
final int maxRowIndex = rowRange.getMaxRowIndex();
final List<Coordinate> updates = new ArrayList<>();
for (final Integer columnIndex : columnRange) {
for (int rowIndex = minRowIndex; rowIndex <= maxRowIndex; rowIndex++) {
updates.add(new Coordinate(rowIndex, columnIndex));
}
}
final ValidateEvent event = new ValidateEvent(updates);
eventBus.fireEvent(event);
}
Aggregations