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:
parent
8ac3028fd0
commit
86c1c2e4c7
|
@ -332,18 +332,20 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void updateTable(TableData tableData) {
|
protected void updateTable(TableData tableData) {
|
||||||
|
trId = tableData.getTrId();
|
||||||
|
/*
|
||||||
tableTypeNameField.setValue(tableData.getTypeName());
|
tableTypeNameField.setValue(tableData.getTypeName());
|
||||||
if (tableMetadataPanel != null) {
|
if (tableMetadataPanel != null) {
|
||||||
tableFieldSet.remove(layoutTable);
|
tableFieldSet.remove(layoutTable);
|
||||||
layoutTable.remove(tableMetadataPanel);
|
layoutTable.remove(tableMetadataPanel);
|
||||||
}
|
}
|
||||||
trId = tableData.getTrId();
|
|
||||||
|
|
||||||
tableMetadataPanel = new TableMetadataAccordionPanel(
|
tableMetadataPanel = new TableMetadataAccordionPanel(
|
||||||
"TableInformation", trId, eventBus);
|
"TableInformation", trId, eventBus);
|
||||||
layoutTable.add(tableMetadataPanel, new VerticalLayoutData(-1, -1));
|
layoutTable.add(tableMetadataPanel, new VerticalLayoutData(-1, -1));
|
||||||
tableFieldSet.add(layoutTable);
|
tableFieldSet.add(layoutTable);
|
||||||
|
*/
|
||||||
forceLayout();
|
forceLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -381,7 +383,7 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
public void onSuccess(ShareInfo result) {
|
public void onSuccess(ShareInfo result) {
|
||||||
Log.debug("Retrived share info:" + result);
|
Log.debug("Retrived share info:" + result);
|
||||||
updateShareInfo(result);
|
updateShareInfo(result);
|
||||||
// getLastTable(tabResource.getTrId());
|
getLastTable(tabResource.getTrId());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue