diff --git a/src/main/java/org/gcube/portlets/user/td/client/ribbon/FileToolBar.java b/src/main/java/org/gcube/portlets/user/td/client/ribbon/FileToolBar.java index a03e6f9..459eab4 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/ribbon/FileToolBar.java +++ b/src/main/java/org/gcube/portlets/user/td/client/ribbon/FileToolBar.java @@ -44,7 +44,7 @@ public class FileToolBar { private TextButton propertiesButton; private TextButton importCSVButton; - private TextButton importJSONButton; + //private TextButton importJSONButton; private TextButton importSDMXButton; private TextButton exportSDMXButton; @@ -223,6 +223,8 @@ public class FileToolBar { }); importLayout.setWidget(0, 2, importCSVButton); + + /* importJSONButton = new TextButton("JSON", TabularDataResources.INSTANCE.json()); importJSONButton.disable(); @@ -234,7 +236,8 @@ public class FileToolBar { } }); importLayout.setWidget(1, 2, importJSONButton); - + */ + cleanCells(importLayout.getElement()); // Export @@ -562,7 +565,7 @@ public class FileToolBar { deleteButton.disable(); propertiesButton.disable(); importCSVButton.enable(); - importJSONButton.disable(); + //importJSONButton.disable(); importSDMXButton.enable(); exportCSVButton.disable(); exportJSONButton.disable(); @@ -584,7 +587,7 @@ public class FileToolBar { deleteButton.disable(); propertiesButton.disable(); importCSVButton.enable(); - importJSONButton.disable(); + //importJSONButton.disable(); importSDMXButton.enable(); exportCSVButton.disable(); exportJSONButton.disable(); @@ -607,7 +610,7 @@ public class FileToolBar { deleteButton.enable(); propertiesButton.enable(); importCSVButton.enable(); - importJSONButton.disable(); + //importJSONButton.disable(); importSDMXButton.enable(); TRId trId=event.getTrId(); if (trId!=null&& trId.getTableType()!=null && trId.getTableType().compareTo("Codelist") == 0) { @@ -633,7 +636,7 @@ public class FileToolBar { deleteButton.disable(); propertiesButton.disable(); importCSVButton.disable(); - importJSONButton.disable(); + //importJSONButton.disable(); importSDMXButton.disable(); exportCSVButton.disable(); exportJSONButton.disable();