From d3d32ebb7a9273d4c70b1a08bb1747c0944c2666 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 19 Feb 2014 08:58:02 +0000 Subject: [PATCH] Minor Updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@91900 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/ExpressionWidgetEntry.java | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/ExpressionWidgetEntry.java b/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/ExpressionWidgetEntry.java index 1cf8bab..1445c3b 100644 --- a/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/ExpressionWidgetEntry.java +++ b/src/main/java/org/gcube/portlets/user/td/expressionwidget/client/ExpressionWidgetEntry.java @@ -2,8 +2,7 @@ package org.gcube.portlets.user.td.expressionwidget.client; -import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnDataType; -import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnTypeCode; +import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.core.client.EntryPoint; @@ -11,16 +10,29 @@ import com.google.web.bindery.event.shared.EventBus; import com.google.web.bindery.event.shared.SimpleEventBus; - +/** + * + * @author "Giancarlo Panichi" + * g.panichi@isti.cnr.it + * + */ public class ExpressionWidgetEntry implements EntryPoint { protected EventBus eventBus; public void onModuleLoad() { EventBus eventBus= new SimpleEventBus(); - ColumnExpressionDialog expressionDialog=new ColumnExpressionDialog("1", ColumnTypeCode.ATTRIBUTE, ColumnDataType.Integer, eventBus); - expressionDialog.show(); - //RootPanel.get().add(expressionDialog); + //Column Expression Dialog + //ColumnExpressionDialog expressionDialog=new ColumnExpressionDialog("1", ColumnTypeCode.ATTRIBUTE, ColumnDataType.Integer, eventBus); + //expressionDialog.show(); + + + //Column Filter Dialog + //id=2, tableId=8, tableType=Generic + TRId trId=new TRId("2","8"); + String columnName="twkvwc"; + ColumnFilterDialog columnFilterDialog=new ColumnFilterDialog(trId, columnName, eventBus); + columnFilterDialog.show(); Log.info("Hello!"); }