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:
parent
f602070ac5
commit
5532e25b53
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue