From 128557c394b0ca23bb00424e05cb395a243e8b86 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 5 Feb 2014 09:42:12 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@90899 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/toolboxwidget/client/ToolBoxPanel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxPanel.java b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxPanel.java index 362b5fb..8034578 100644 --- a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxPanel.java @@ -113,7 +113,7 @@ public class ToolBoxPanel extends ContentPanel { widgetRequestType = event.getWidgetRequestType(); switch (event.getWidgetRequestType()){ case CHANGECOLUMNTYPEPANEL: - doColumnTypeChangeTab(event.getTrId()); + doColumnTypeChangeTab(event); break; default: break; @@ -121,16 +121,16 @@ public class ToolBoxPanel extends ContentPanel { } } - protected void doColumnTypeChangeTab(TRId trId){ + protected void doColumnTypeChangeTab(WidgetRequestEvent event){ if (uiStateType == UIStateType.TR_OPEN) { if (state == ToolBoxPanelState.OPENED) { - toolBox.openColumnTypeChangeTab(trId, null); + toolBox.openColumnTypeChangeTab(event.getTrId(), event.getColumnName()); Log.debug("ToolBoxPanelSTate.OPENED Add Tabs"); } else { enable(); expand(); state = ToolBoxPanelState.OPENED; - toolBox.openColumnTypeChangeTab(trId, null); + toolBox.openColumnTypeChangeTab(event.getTrId(), event.getColumnName()); } } else { Log.debug("ToolBoxPanel No table open");