Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@112017 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-02-13 15:07:47 +00:00
parent f602070ac5
commit 5532e25b53
1 changed files with 9 additions and 6 deletions

View File

@ -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,6 +236,7 @@ public class FileToolBar {
}
});
importLayout.setWidget(1, 2, importJSONButton);
*/
cleanCells(importLayout.getElement());
@ -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();