use of org.drools.workbench.screens.guided.template.client.editor.events.SetInternalTemplateDataModelEvent in project drools-wb by kiegroup.
the class AbstractDecoratedTemplateDataGridWidget method onSetModel.
public void onSetModel(SetModelEvent<TemplateModel> event) {
DynamicData data = new DynamicData();
TemplateModel model = event.getModel();
List<DynamicColumn<TemplateDataColumn>> columns = new ArrayList<DynamicColumn<TemplateDataColumn>>();
setupInternalModel(model, columns, data);
// Raise event setting data and columns for UI components
SetInternalTemplateDataModelEvent sime = new SetInternalTemplateDataModelEvent(model, data, columns);
eventBus.fireEvent(sime);
}
Aggregations