Proper recovery of informations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@84122 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
90cf2a3984
commit
f7ce7c238c
|
@ -7,6 +7,7 @@ import org.gcube.portlets.user.td.gwtservice.shared.TabResource;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||||
import com.google.web.bindery.event.shared.EventBus;
|
import com.google.web.bindery.event.shared.EventBus;
|
||||||
import com.sencha.gxt.widget.core.client.ContentPanel;
|
import com.sencha.gxt.widget.core.client.ContentPanel;
|
||||||
|
@ -36,11 +37,12 @@ public class TabularResourceProperties extends ContentPanel {
|
||||||
this.eventBus = eventBus;
|
this.eventBus = eventBus;
|
||||||
|
|
||||||
TDGWTServiceAsync.INSTANCE
|
TDGWTServiceAsync.INSTANCE
|
||||||
.getTabResource(new AsyncCallback<TabResource>() {
|
.getTabResourceInformation(new AsyncCallback<TabResource>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(TabResource result) {
|
public void onSuccess(TabResource result) {
|
||||||
addTabularResource(result);
|
addTabularResource(result);
|
||||||
|
Log.info("Retrived TR:"+ result.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue