use of org.drools.workbench.models.guided.dtable.shared.auditlog.InsertColumnAuditLogEntry in project drools-wb by kiegroup.
the class GuidedDecisionTablePresenter method doAppendColumn.
private void doAppendColumn(final BaseColumn column, final VetoableColumnCommand append, final Command callback) {
if (isReadOnly()) {
return;
}
try {
append.execute();
refreshView();
// Log addition of column
model.getAuditLog().add(new InsertColumnAuditLogEntry(identity.getIdentifier(), column));
callback.execute();
} catch (VetoException e) {
getModellerPresenter().getView().showGenericVetoMessage();
}
}
Aggregations