Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@93131 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e6e9a8afd6
commit
3dc8e5e205
|
@ -3,6 +3,8 @@ package org.gcube.portlets.user.td.tablewidget.client;
|
||||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.clone.CloneTabularResourceSession;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.clone.CloneTabularResourceSession;
|
||||||
import org.gcube.portlets.user.td.tablewidget.client.util.InfoMessageBox;
|
import org.gcube.portlets.user.td.tablewidget.client.util.InfoMessageBox;
|
||||||
|
import org.gcube.portlets.user.td.widgetcommonevent.client.event.ChangeTableRequestEvent;
|
||||||
|
import org.gcube.portlets.user.td.widgetcommonevent.client.type.ChangeTableRequestType;
|
||||||
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||||
|
|
||||||
import com.allen_sauer.gwt.log.client.Log;
|
import com.allen_sauer.gwt.log.client.Log;
|
||||||
|
@ -42,6 +44,9 @@ public class CloneTabularResource {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onSuccess(TRId result) {
|
public void onSuccess(TRId result) {
|
||||||
|
Log.info("TR Clone:"+result);
|
||||||
|
final ChangeTableRequestEvent event=new ChangeTableRequestEvent(ChangeTableRequestType.CLONETABULARRESOURCE,result);
|
||||||
|
eventBus.fireEvent(event);
|
||||||
info("Clone", "Clone Tabular Resource Succed");
|
info("Clone", "Clone Tabular Resource Succed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue