use of org.kie.workbench.common.widgets.client.popups.list.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.addListMessage(convertMessageType(message.getMessageType()), message.getMessage());
}
popup.show();
}
}
}).convert(versionRecordManager.getCurrentPath());
}
Aggregations