From 6f31c510eb74254656c2076b6a7f96e7fdda5931 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 24 Oct 2014 15:52:52 +0000 Subject: [PATCH] Updated Flows git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-unionwizard-widget@100981 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../unionwizardwidget/client/TabResourcesProperties.java | 1 + .../client/TabResourcesSelectionPanel.java | 8 +++++--- .../user/td/unionwizardwidget/client/UnionWizardTD.java | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesProperties.java b/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesProperties.java index 5dbf3af..533f85e 100644 --- a/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesProperties.java +++ b/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesProperties.java @@ -19,6 +19,7 @@ public interface TabResourcesProperties extends PropertyAccess { ModelKeyProvider id(); ValueProvider name(); + ValueProvider tabResourceType(); ValueProvider agency(); ValueProvider date(); ValueProvider tableTypeName(); diff --git a/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesSelectionPanel.java b/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesSelectionPanel.java index 47519fe..bd9289f 100644 --- a/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesSelectionPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/TabResourcesSelectionPanel.java @@ -67,13 +67,15 @@ public class TabResourcesSelectionPanel extends ContentPanel implements protected static final ColumnConfig nameColumn = new ColumnConfig( properties.name(), 90, "Name"); protected static final ColumnConfig typeColumn = new ColumnConfig( + properties.tabResourceType(), 30, "Type"); + protected static final ColumnConfig tableTypeNameColumn = new ColumnConfig( properties.tableTypeName(), 30, "Table Type"); protected static final ColumnConfig agencyColumn = new ColumnConfig( properties.agency(), 60, "Agency"); protected static final ColumnConfig ownerColumn = new ColumnConfig( properties.ownerLogin(), 70, "Owner"); protected static final ColumnConfig dateColumn = new ColumnConfig( - properties.date(), 40, "Date"); + properties.date(), 50, "Date"); protected Grid grid; protected ResourceBundle res; @@ -96,8 +98,8 @@ public class TabResourcesSelectionPanel extends ContentPanel implements } try { buildPanel(properties.id(), - Arrays.> asList(nameColumn, - typeColumn, ownerColumn, agencyColumn, dateColumn), + Arrays.> asList(nameColumn,typeColumn, + tableTypeNameColumn, ownerColumn, agencyColumn, dateColumn), nameColumn); } catch (Throwable e) { diff --git a/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/UnionWizardTD.java b/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/UnionWizardTD.java index bdafd33..56b97c1 100644 --- a/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/UnionWizardTD.java +++ b/src/main/java/org/gcube/portlets/user/td/unionwizardwidget/client/UnionWizardTD.java @@ -14,7 +14,7 @@ import com.google.web.bindery.event.shared.EventBus; * */ public class UnionWizardTD extends WizardWindow { - protected static final int WITHWIZARD = 720; + protected static final int WITHWIZARD = 800; protected static final int HEIGHTWIZARD = 520; protected UnionSession unionSession;