diff --git a/src/main/java/org/gcube/portlets/user/td/mapwidget/client/MapWidgetOperationInProgressCard.java b/src/main/java/org/gcube/portlets/user/td/mapwidget/client/MapWidgetOperationInProgressCard.java index f63daf1..8160694 100644 --- a/src/main/java/org/gcube/portlets/user/td/mapwidget/client/MapWidgetOperationInProgressCard.java +++ b/src/main/java/org/gcube/portlets/user/td/mapwidget/client/MapWidgetOperationInProgressCard.java @@ -11,6 +11,7 @@ import org.gcube.portlets.user.td.monitorwidget.client.MonitorDialog; import org.gcube.portlets.user.td.monitorwidget.client.MonitorDialogListener; import org.gcube.portlets.user.td.widgetcommonevent.client.event.SessionExpiredEvent; import org.gcube.portlets.user.td.widgetcommonevent.client.type.SessionExpiredType; +import org.gcube.portlets.user.td.widgetcommonevent.shared.OperationResult; import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import org.gcube.portlets.user.td.wizardwidget.client.WizardCard; @@ -136,8 +137,8 @@ public class MapWidgetOperationInProgressCard extends WizardCard implements } @Override - public void operationComplete(TRId trId) { - newTrId = trId; + public void operationComplete(OperationResult operationResult) { + newTrId = operationResult.getTrId(); SafeHtmlBuilder safeHtmlBuilder = new SafeHtmlBuilder(); safeHtmlBuilder .appendHtmlConstant("
Operation Completed
"); @@ -187,8 +188,8 @@ public class MapWidgetOperationInProgressCard extends WizardCard implements } @Override - public void operationStopped(TRId trId, String reason, String details) { - newTrId = trId; + public void operationStopped(OperationResult operationResult, String reason, String details) { + newTrId = operationResult.getTrId(); SafeHtmlBuilder safeHtmlBuilder = new SafeHtmlBuilder(); safeHtmlBuilder .appendHtmlConstant("
Problems in the Operation
");