From 2adccf5145b35933693d4689d68a99aca6daad6b Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 4 Jun 2015 17:03:17 +0000 Subject: [PATCH] 209: TDM - Show the resources through a ListView widget Task-Url: https://support.d4science.org/issues/209 Updated ResourcesListView git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@115232 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/td/client/TabularDataController.java | 10 +++++++--- .../gcube/portlets/user/td/tabulardataportlet.gwt.xml | 7 +++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java b/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java index 093d152..00a289a 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java +++ b/src/main/java/org/gcube/portlets/user/td/client/TabularDataController.java @@ -28,10 +28,10 @@ import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource; import org.gcube.portlets.user.td.gwtservice.shared.user.UserInfo; import org.gcube.portlets.user.td.jsonexportwidget.client.JSONExportWidgetTD; import org.gcube.portlets.user.td.mainboxwidget.client.MainBoxPanel; +import org.gcube.portlets.user.td.mainboxwidget.client.tdx.TDXTabPanelDialog; import org.gcube.portlets.user.td.mapwidget.client.MapWidgetTD; import org.gcube.portlets.user.td.openwidget.client.TDOpen; import org.gcube.portlets.user.td.replacebyexternalwidget.client.ReplaceByExternalTD; -import org.gcube.portlets.user.td.resourceswidget.client.ResourcesListViewDialog; import org.gcube.portlets.user.td.rulewidget.client.RuleActiveDialog; import org.gcube.portlets.user.td.rulewidget.client.RuleApplyDialog; import org.gcube.portlets.user.td.rulewidget.client.RuleDeleteDialog; @@ -1914,9 +1914,13 @@ public class TabularDataController { public void onSuccess() { Log.debug("ResourceListView call"); if (trId != null) { - ResourcesListViewDialog resourcesListViewDialog = new ResourcesListViewDialog( - trId, eventBus); + /* + ResourcesListViewDialog resourcesListViewDialog = new ResourcesListViewDialog(eventBus); resourcesListViewDialog.show(); + resourcesListViewDialog.open(trId);*/ + TDXTabPanelDialog d=new TDXTabPanelDialog(eventBus); + d.show(); + d.open(trId); } else { Log.error("TRId is null"); diff --git a/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml b/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml index 96f9417..053f948 100644 --- a/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml +++ b/src/main/resources/org/gcube/portlets/user/td/tabulardataportlet.gwt.xml @@ -96,19 +96,18 @@ /> --> - + - +