use of org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.impl.BaseColumnSynchronizer.MetaData in project drools-wb by kiegroup.
the class ModelSynchronizerImpl method deleteRow.
@Override
@SuppressWarnings("unchecked")
public void deleteRow(final int rowIndex) throws VetoException {
final MetaData metaData = new RowSynchronizer.RowMetaDataImpl(rowIndex);
for (Synchronizer synchronizer : synchronizers) {
if (synchronizer.handlesDelete(metaData)) {
synchronizer.delete(metaData);
break;
}
}
fireDeleteRowEvent(rowIndex);
systemControlledColumnValuesSynchronizer.deleteRow(rowIndex);
fireUpdateColumnDataEvent();
}
Also used :
Synchronizer(org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.Synchronizer)
ModelSynchronizer(org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.ModelSynchronizer)
PatternConditionMetaData(org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.impl.ConditionColumnSynchronizer.PatternConditionMetaData)
MoveRowToMetaData(org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.impl.ConditionColumnSynchronizer.MoveRowToMetaData)
MetaData(org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.impl.BaseColumnSynchronizer.MetaData)
MoveColumnToMetaData(org.drools.workbench.screens.guided.dtable.client.widget.table.model.synchronizers.impl.ConditionColumnSynchronizer.MoveColumnToMetaData)