From 75aabd0b98668a90b9134efc054f96bd49ed914a Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 24 Oct 2014 15:51:34 +0000 Subject: [PATCH] Updated Flows git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-codelistmapping-import-widget@100976 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/CodelistMappingImportWizardTD.java | 2 +- .../client/TabResourcesProperties.java | 1 + .../client/TabResourcesSelectionPanel.java | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/CodelistMappingImportWizardTD.java b/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/CodelistMappingImportWizardTD.java index 38303c8..fcfe9b6 100644 --- a/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/CodelistMappingImportWizardTD.java +++ b/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/CodelistMappingImportWizardTD.java @@ -13,7 +13,7 @@ import com.google.web.bindery.event.shared.EventBus; * */ public class CodelistMappingImportWizardTD extends WizardWindow { - protected static final int WITHWIZARD=720; + protected static final int WITHWIZARD=800; protected static final int HEIGHTWIZARD=520; protected CodelistMappingSession codelistMappingSession; diff --git a/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/TabResourcesProperties.java b/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/TabResourcesProperties.java index 126d541..754fdd9 100644 --- a/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/TabResourcesProperties.java +++ b/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/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/codelistmappingimportwidget/client/TabResourcesSelectionPanel.java b/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/TabResourcesSelectionPanel.java index 5485b11..56d974b 100644 --- a/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/TabResourcesSelectionPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/codelistmappingimportwidget/client/TabResourcesSelectionPanel.java @@ -68,13 +68,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; @@ -97,8 +99,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) {