From bcb1f9e1e2f4adb314d5a11cf25cd9c2dc139c55 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 17 Apr 2014 10:02:14 +0000 Subject: [PATCH] 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 --- .../client/progress/ColumnFilterProgressDialog.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/progress/ColumnFilterProgressDialog.java b/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/progress/ColumnFilterProgressDialog.java index 1d05e35..eaa5326 100644 --- a/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/progress/ColumnFilterProgressDialog.java +++ b/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/progress/ColumnFilterProgressDialog.java @@ -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; } }