Fixed operation invocation call
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-statistical-widget@147240 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
54ab64fe23
commit
0c04c19dee
|
@ -34,12 +34,14 @@ public class TDSubmissionHandler implements ExternalExecutionEventHandler,
|
|||
private EventBus eventBus;
|
||||
private TRId trId;
|
||||
private DataMinerWidget dataMinerWidget;
|
||||
private boolean submitted;
|
||||
|
||||
public TDSubmissionHandler(DataMinerWidget dataMinerWidget, TRId trId,
|
||||
EventBus eventBus) {
|
||||
this.dataMinerWidget = dataMinerWidget;
|
||||
this.trId = trId;
|
||||
this.eventBus = eventBus;
|
||||
submitted = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -50,13 +52,17 @@ public class TDSubmissionHandler implements ExternalExecutionEventHandler,
|
|||
UtilsGXT3.alert("Error", "Invalid params null");
|
||||
return;
|
||||
}
|
||||
dataMinerWidget.closeDataMinerWidget();
|
||||
|
||||
DataMinerOperationSession statisticalOperationSession = new DataMinerOperationSession(
|
||||
trId, event.getOp());
|
||||
if (!submitted) {
|
||||
Log.info("ExternalExecutionEvent submitted");
|
||||
submitted=true;
|
||||
dataMinerWidget.closeDataMinerWidget();
|
||||
|
||||
callDataMinerOperation(statisticalOperationSession);
|
||||
DataMinerOperationSession statisticalOperationSession = new DataMinerOperationSession(
|
||||
trId, event.getOp());
|
||||
|
||||
callDataMinerOperation(statisticalOperationSession);
|
||||
}
|
||||
}
|
||||
|
||||
protected void callDataMinerOperation(
|
||||
|
|
Loading…
Reference in New Issue