From f029c364bb8223169e01b4299ae0a7c280d0509e Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 2 Dec 2013 16:18:33 +0000 Subject: [PATCH] Minor updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@86438 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/TabularResourceProperties.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java index 111f953..c6adb6d 100644 --- a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java +++ b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java @@ -6,7 +6,7 @@ import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync; import org.gcube.portlets.user.td.gwtservice.shared.tr.TRId; import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource; import org.gcube.portlets.user.td.gwtservice.shared.tr.TableData; -import org.gcube.portlets.user.td.metadatawidget.client.MetadataAccordionPanel; +import org.gcube.portlets.user.td.metadatawidget.client.TableMetadataAccordionPanel; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.user.client.rpc.AsyncCallback; @@ -38,7 +38,7 @@ public class TabularResourceProperties extends FramedPanel { protected TextArea rightField; protected TextField tableTypeNameField; - protected MetadataAccordionPanel metadataPanel; + protected TableMetadataAccordionPanel tableMetadataPanel; protected VerticalLayoutContainer layoutTable; public TabularResourceProperties(String name, EventBus eventBus) { @@ -125,14 +125,14 @@ public class TabularResourceProperties extends FramedPanel { protected void updateTable(TableData tableData) { tableTypeNameField.setValue(tableData.getTypeName()); - if(metadataPanel!=null){ + if(tableMetadataPanel!=null){ tableFieldSet.remove(layoutTable); - layoutTable.remove(metadataPanel); + layoutTable.remove(tableMetadataPanel); } TRId trId=tableData.getTrId(); - metadataPanel= new MetadataAccordionPanel("Information", trId, eventBus); - layoutTable.add(metadataPanel, new VerticalLayoutData(-1, -1)); + tableMetadataPanel= new TableMetadataAccordionPanel("Information", trId, eventBus); + layoutTable.add(tableMetadataPanel, new VerticalLayoutData(-1, -1)); tableFieldSet.add(layoutTable); }