Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@85870 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-11-21 14:13:30 +00:00
parent 73367e5aad
commit 688bd74b8c
1 changed files with 3 additions and 3 deletions

View File

@ -126,12 +126,12 @@ public class TabularResourceProperties extends FramedPanel {
protected void updateTable(TableData tableData) {
tableTypeNameField.setValue(tableData.getTypeName());
if(metadataPanel!=null){
tableFieldSet.remove(layoutTable);
layoutTable.remove(metadataPanel);
}
metadataPanel= new MetadataAccordionPanel("Information", tableData.getTrId(), eventBus);
layoutTable.add(new FieldLabel(metadataPanel, "MetaData"),
new VerticalLayoutData(-1, -1));
layoutTable.add(metadataPanel, new VerticalLayoutData(-1, -1));
tableFieldSet.add(layoutTable);
tableFieldSet.onResize();
}