use of org.drools.workbench.screens.dtablexls.client.widgets.PopupListWidget in project drools-wb by kiegroup.
the class DecisionTableXLSEditorPresenter method convert.
private void convert() {
busyIndicatorView.showBusyIndicator(DecisionTableXLSEditorConstants.INSTANCE.Converting());
decisionTableXLSService.call(new RemoteCallback<ConversionResult>() {
@Override
public void callback(final ConversionResult response) {
busyIndicatorView.hideBusyIndicator();
if (response.getMessages().size() > 0) {
final PopupListWidget popup = new PopupListWidget();
for (ConversionMessage message : response.getMessages()) {
popup.addListItem(new ConversionMessageWidget(message));
}
popup.show();
}
}
}).convert(versionRecordManager.getCurrentPath());
}
Aggregations