use of org.drools.workbench.models.guided.dtable.shared.auditlog.DeleteRowAuditLogEntry in project drools-wb by kiegroup.
the class GuidedDecisionTablePresenter method deleteRow.
private void deleteRow(final int rowIndex) {
try {
synchronizer.deleteRow(rowIndex);
refreshView();
// Log deletion of column
model.getAuditLog().add(new DeleteRowAuditLogEntry(identity.getIdentifier(), rowIndex));
} catch (VetoException e) {
getModellerPresenter().getView().showGenericVetoMessage();
}
}
Aggregations