Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@94949 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2c72649063
commit
bcb1f9e1e2
|
@ -3,6 +3,7 @@ package org.gcube.portlets.user.td.expressionwidget.client.progress;
|
|||
import org.gcube.portlets.user.td.expressionwidget.client.ColumnFilterDialog;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.event.ChangeTableRequestEvent;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.type.ChangeTableRequestType;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.type.ChangeTableWhy;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||
|
||||
import com.allen_sauer.gwt.log.client.Log;
|
||||
|
@ -38,6 +39,7 @@ public class ColumnFilterProgressDialog extends Window implements ColumnFilterPr
|
|||
protected TextButton ok;
|
||||
protected TRId trId;
|
||||
protected ColumnFilterDialog dialog;
|
||||
private ChangeTableWhy why;
|
||||
|
||||
public ColumnFilterProgressDialog(ColumnFilterDialog dialog,EventBus eventBus) {
|
||||
this.dialog=dialog;
|
||||
|
@ -102,6 +104,7 @@ public class ColumnFilterProgressDialog extends Window implements ColumnFilterPr
|
|||
public void operationComplete(TRId trId) {
|
||||
Log.debug("Operation Complete return: "+trId.toString());
|
||||
this.trId=trId;
|
||||
why=ChangeTableWhy.TABLEUPDATED;
|
||||
updateInvocation();
|
||||
}
|
||||
|
||||
|
@ -120,7 +123,7 @@ public class ColumnFilterProgressDialog extends Window implements ColumnFilterPr
|
|||
public void updateInvocation(){
|
||||
if(trId!=null){
|
||||
ChangeTableRequestEvent changeTableRequestEvent=
|
||||
new ChangeTableRequestEvent(ChangeTableRequestType.COLUMNFILTER, trId);
|
||||
new ChangeTableRequestEvent(ChangeTableRequestType.COLUMNFILTER, trId,why);
|
||||
eventBus.fireEvent(changeTableRequestEvent);
|
||||
}
|
||||
dialog.hide();
|
||||
|
@ -132,5 +135,6 @@ public class ColumnFilterProgressDialog extends Window implements ColumnFilterPr
|
|||
Log.debug("Operation Stopped: ["+trId.toString()+", "+reason+", "+details+"]");
|
||||
ok.setVisible(true);
|
||||
this.trId=trId;
|
||||
why=ChangeTableWhy.TABLECURATION;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue