diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesPanel.java b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesPanel.java index 0f8836c..afd3f10 100644 --- a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesPanel.java @@ -89,8 +89,7 @@ public class ResourcesPanel extends FramedPanel { private Menu contextMenu; private MenuItem openItem; - public ResourcesPanel(ResourcesDialog parent, TRId trId, - EventBus eventBus) { + public ResourcesPanel(ResourcesDialog parent, TRId trId, EventBus eventBus) { super(); this.parent = parent; this.trId = trId; @@ -106,31 +105,29 @@ public class ResourcesPanel extends FramedPanel { forceLayoutOnResize = true; retrieveUserInfo(); } - - protected void retrieveUserInfo(){ - TDGWTServiceAsync.INSTANCE.hello( - new AsyncCallback() { - public void onFailure(Throwable caught) { - if (caught instanceof TDGWTSessionExpiredException) { - eventBus.fireEvent(new SessionExpiredEvent( - SessionExpiredType.EXPIREDONSERVER)); - } else { - - Log.error("Error Retrieving User Info: " - + caught.getLocalizedMessage()); - UtilsGXT3.alert("Error", - "Error retrieving User Info"); - - } - } + protected void retrieveUserInfo() { + TDGWTServiceAsync.INSTANCE.hello(new AsyncCallback() { - public void onSuccess(UserInfo userInfo) { - Log.debug("User Info: " + userInfo); - draw(); - } + public void onFailure(Throwable caught) { + if (caught instanceof TDGWTSessionExpiredException) { + eventBus.fireEvent(new SessionExpiredEvent( + SessionExpiredType.EXPIREDONSERVER)); + } else { - }); + Log.error("Error Retrieving User Info: " + + caught.getLocalizedMessage()); + UtilsGXT3.alert("Error", "Error retrieving User Info"); + + } + } + + public void onSuccess(UserInfo userInfo) { + Log.debug("User Info: " + userInfo); + draw(); + } + + }); } protected void draw() { @@ -153,10 +150,10 @@ public class ResourcesPanel extends FramedPanel { .create(ResourceTDDescriptorProperties.class); IdentityValueProvider identityProvider = new IdentityValueProvider(); - - final GridSelectionModel sm = new GridSelectionModel(); - sm.setSelectionMode(SelectionMode.SINGLE); - + + final GridSelectionModel sm = new GridSelectionModel(); + sm.setSelectionMode(SelectionMode.SINGLE); + RowExpander expander = new RowExpander( identityProvider, new AbstractCell() { @@ -212,20 +209,19 @@ public class ResourcesPanel extends FramedPanel { + "") .appendEscaped(internalURITD.getFileId()) .appendHtmlConstant("" + ""); - - - + /* - sb.appendHtmlConstant( - "" - + "URI: " - + "" - + "link" + "" + "");*/ + * sb.appendHtmlConstant( "" + + * "URI: " + * + + * "" + * + "link" + "" + + * ""); + */ } else { if (resource instanceof StringResourceTD) { @@ -263,7 +259,7 @@ public class ResourcesPanel extends FramedPanel { }); ColumnConfig nameCol = new ColumnConfig( - props.name(), 132, "Name"); + props.name(), 142, "Name"); nameCol.setCell(new AbstractCell() { @@ -278,8 +274,55 @@ public class ResourcesPanel extends FramedPanel { }); ColumnConfig typeColumn = new ColumnConfig( - props.resourceType(), 40, "Type"); - + props.resourceType(), 30, "Type"); + + typeColumn.setCell(new AbstractCell() { + @Override + public void render(Context context, ResourceTDType value, + SafeHtmlBuilder sb) { + sb.appendHtmlConstant(""); + + } + }); + List> l = new ArrayList>(); l.add(expander); l.add(nameCol); @@ -333,12 +376,11 @@ public class ResourcesPanel extends FramedPanel { grid.setColumnResize(true); grid.getView().setAutoExpandColumn(nameCol); grid.getView().setEmptyText("Empty"); - + expander.initPlugin(grid); - + createContextMenu(); - add(grid, new MarginData(0)); onResize(); @@ -349,24 +391,24 @@ public class ResourcesPanel extends FramedPanel { openItem = new MenuItem(); openItem.setText("Open"); - openItem.setIcon(ResourceBundle.INSTANCE.codelistLink()); + openItem.setIcon(ResourceBundle.INSTANCE.resources()); openItem.addSelectionHandler(new SelectionHandler() { @Override public void onSelection(SelectionEvent event) { - ResourceTDDescriptor selected = grid.getSelectionModel().getSelectedItem(); - Log.debug("selected: "+selected); + ResourceTDDescriptor selected = grid.getSelectionModel() + .getSelectedItem(); + Log.debug("selected: " + selected); requestOpen(selected); } - }); contextMenu.add(openItem); grid.setContextMenu(contextMenu); } - + protected void requestOpen(ResourceTDDescriptor resourceTDDescriptor) { - switch (resourceTDDescriptor.getResourceType()){ + switch (resourceTDDescriptor.getResourceType()) { case CHART: break; case CODELIST: @@ -384,48 +426,48 @@ public class ResourcesPanel extends FramedPanel { break; default: break; - + } - + } - - protected void requestOpenMap(final ResourceTDDescriptor resourceTDDescriptor){ - ResourceTD resource=resourceTDDescriptor.getResourceTD(); + + protected void requestOpenMap( + final ResourceTDDescriptor resourceTDDescriptor) { + ResourceTD resource = resourceTDDescriptor.getResourceTD(); if (resource instanceof InternalURITD) { InternalURITD internalURITD = (InternalURITD) resource; - UriResolverSession uriResolverSession=new UriResolverSession(internalURITD.getUri(), ApplicationType.GIS); - - TDGWTServiceAsync.INSTANCE.getUriFromResolver(uriResolverSession, new AsyncCallback() { + UriResolverSession uriResolverSession = new UriResolverSession( + internalURITD.getUri(), ApplicationType.GIS); - public void onFailure(Throwable caught) { - if (caught instanceof TDGWTSessionExpiredException) { - eventBus.fireEvent(new SessionExpiredEvent( - SessionExpiredType.EXPIREDONSERVER)); - } else { - Log.error("Error with uri resolver: " - + caught.getLocalizedMessage()); - UtilsGXT3.alert("Error", - "Error retrieving uri from resolver"); - } - } + TDGWTServiceAsync.INSTANCE.getUriFromResolver(uriResolverSession, + new AsyncCallback() { - public void onSuccess(String link) { - Log.debug("Retrieved link: " + link); - Window.open(link, resourceTDDescriptor.getName(), ""); - } + public void onFailure(Throwable caught) { + if (caught instanceof TDGWTSessionExpiredException) { + eventBus.fireEvent(new SessionExpiredEvent( + SessionExpiredType.EXPIREDONSERVER)); + } else { + Log.error("Error with uri resolver: " + + caught.getLocalizedMessage()); + UtilsGXT3.alert("Error", + "Error retrieving uri from resolver"); + } + } + + public void onSuccess(String link) { + Log.debug("Retrieved link: " + link); + Window.open(link, resourceTDDescriptor.getName(), + ""); + } + + }); - }); - - } else { Log.error("Error with resource: no valid InternalUri"); - UtilsGXT3.alert("Error with resource", - "Error no valid InternalUri"); + UtilsGXT3 + .alert("Error with resource", "Error no valid InternalUri"); } } - - - protected void loadData(ListLoadConfig loadConfig, final AsyncCallback> callback) { @@ -501,8 +543,6 @@ public class ResourcesPanel extends FramedPanel { }); } - - protected void close() { if (parent != null) { diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/ResourceBundle.java b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/ResourceBundle.java index f688f41..d7f45ce 100644 --- a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/ResourceBundle.java +++ b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/ResourceBundle.java @@ -45,25 +45,7 @@ public interface ResourceBundle extends ClientBundle { @Source("disk_32.png") ImageResource save32(); - - @Source("codelist-link.png") - ImageResource codelistLink(); - - @Source("codelist-link_24.png") - ImageResource codelistLink24(); - - @Source("codelist-link_32.png") - ImageResource codelistLink32(); - - @Source("codelist-link-break.png") - ImageResource codelistLinkBreak(); - - @Source("codelist-link-break_24.png") - ImageResource codelistLinkBreak24(); - - @Source("codelist-link-break_32.png") - ImageResource codelistLinkBreak32(); - + @Source("add.png") ImageResource add(); @@ -75,6 +57,56 @@ public interface ResourceBundle extends ClientBundle { @Source("delete_32.png") ImageResource delete32(); + + @Source("chart-bar.png") + ImageResource chart(); + + @Source("chart-bar_32.png") + ImageResource chart32(); + + @Source("codelist.png") + ImageResource codelist(); + + @Source("codelist_32.png") + ImageResource codelist32(); + + @Source("csv.png") + ImageResource csv(); + + @Source("csv_32.png") + ImageResource csv32(); + + @Source("gis.png") + ImageResource gis(); + + @Source("gis_32.png") + ImageResource gis32(); + + @Source("json.png") + ImageResource json(); + + @Source("json_32.png") + ImageResource json32(); + + @Source("sdmx.png") + ImageResource sdmx(); + + @Source("sdmx_32.png") + ImageResource sdmx32(); + + @Source("table.png") + ImageResource table(); + + @Source("table_32.png") + ImageResource table32(); + + @Source("resources.png") + ImageResource resources(); + + @Source("resources_32.png") + ImageResource resources32(); + + } \ No newline at end of file diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar.png new file mode 100644 index 0000000..316a0bc Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar_32.png new file mode 100644 index 0000000..ac136ba Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break.png deleted file mode 100644 index dbc316a..0000000 Binary files a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break.png and /dev/null differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_24.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_24.png deleted file mode 100644 index 197c3a8..0000000 Binary files a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_24.png and /dev/null differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_32.png deleted file mode 100644 index c2c85a9..0000000 Binary files a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_32.png and /dev/null differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link.png deleted file mode 100644 index d238e55..0000000 Binary files a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link.png and /dev/null differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_24.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_24.png deleted file mode 100644 index 39bce94..0000000 Binary files a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_24.png and /dev/null differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_32.png deleted file mode 100644 index cb1afb2..0000000 Binary files a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_32.png and /dev/null differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist.png new file mode 100644 index 0000000..45627da Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist_32.png new file mode 100644 index 0000000..3ef1598 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/csv.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/csv.png new file mode 100644 index 0000000..8d1eac0 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/csv.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/csv_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/csv_32.png new file mode 100644 index 0000000..70f3e0b Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/csv_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/gis.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/gis.png new file mode 100644 index 0000000..53c445f Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/gis.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/gis_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/gis_32.png new file mode 100644 index 0000000..e259eca Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/gis_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/json.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/json.png new file mode 100644 index 0000000..dc21fe8 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/json.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/json_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/json_32.png new file mode 100644 index 0000000..7ca2b39 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/json_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/resources.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/resources.png new file mode 100644 index 0000000..bf0488a Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/resources.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/resources_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/resources_32.png new file mode 100644 index 0000000..c10cfa3 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/resources_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx.png new file mode 100644 index 0000000..3a8ff7c Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx_32.png new file mode 100644 index 0000000..ce983f9 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/table.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/table.png new file mode 100644 index 0000000..050d6dd Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/table.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/table_32.png b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/table_32.png new file mode 100644 index 0000000..2957702 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/resources/table_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar.png new file mode 100644 index 0000000..316a0bc Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar_32.png new file mode 100644 index 0000000..ac136ba Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/chart-bar_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break.png deleted file mode 100644 index dbc316a..0000000 Binary files a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break.png and /dev/null differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_24.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_24.png deleted file mode 100644 index 197c3a8..0000000 Binary files a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_24.png and /dev/null differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_32.png deleted file mode 100644 index c2c85a9..0000000 Binary files a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link-break_32.png and /dev/null differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link.png deleted file mode 100644 index d238e55..0000000 Binary files a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link.png and /dev/null differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_24.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_24.png deleted file mode 100644 index 39bce94..0000000 Binary files a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_24.png and /dev/null differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_32.png deleted file mode 100644 index cb1afb2..0000000 Binary files a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist-link_32.png and /dev/null differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist.png new file mode 100644 index 0000000..45627da Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist_32.png new file mode 100644 index 0000000..3ef1598 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/codelist_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/csv.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/csv.png new file mode 100644 index 0000000..8d1eac0 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/csv.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/csv_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/csv_32.png new file mode 100644 index 0000000..70f3e0b Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/csv_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/gis.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/gis.png new file mode 100644 index 0000000..53c445f Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/gis.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/gis_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/gis_32.png new file mode 100644 index 0000000..e259eca Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/gis_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/json.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/json.png new file mode 100644 index 0000000..dc21fe8 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/json.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/json_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/json_32.png new file mode 100644 index 0000000..7ca2b39 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/json_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/resources.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/resources.png new file mode 100644 index 0000000..bf0488a Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/resources.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/resources_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/resources_32.png new file mode 100644 index 0000000..c10cfa3 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/resources_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx.png new file mode 100644 index 0000000..3a8ff7c Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx_32.png new file mode 100644 index 0000000..ce983f9 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/sdmx_32.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/table.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/table.png new file mode 100644 index 0000000..050d6dd Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/table.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/table_32.png b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/table_32.png new file mode 100644 index 0000000..2957702 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/resourceswidget/client/resources/table_32.png differ