Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@99174 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-31 17:04:40 +00:00
parent 8ac3028fd0
commit 86c1c2e4c7
1 changed files with 6 additions and 4 deletions

View File

@ -332,18 +332,20 @@ public class TabularResourceProperties extends FramedPanel {
}
protected void updateTable(TableData tableData) {
trId = tableData.getTrId();
/*
tableTypeNameField.setValue(tableData.getTypeName());
if (tableMetadataPanel != null) {
tableFieldSet.remove(layoutTable);
layoutTable.remove(tableMetadataPanel);
}
trId = tableData.getTrId();
tableMetadataPanel = new TableMetadataAccordionPanel(
"TableInformation", trId, eventBus);
layoutTable.add(tableMetadataPanel, new VerticalLayoutData(-1, -1));
tableFieldSet.add(layoutTable);
*/
forceLayout();
}
@ -381,7 +383,7 @@ public class TabularResourceProperties extends FramedPanel {
public void onSuccess(ShareInfo result) {
Log.debug("Retrived share info:" + result);
updateShareInfo(result);
// getLastTable(tabResource.getTrId());
getLastTable(tabResource.getTrId());
}