2014-10-21 12:38:37 +02:00
|
|
|
package org.gcube.portlets.user.td.statisticalwidget.client;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
|
|
|
|
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
|
|
import com.google.gwt.core.client.EntryPoint;
|
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
import com.google.web.bindery.event.shared.SimpleEventBus;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author "Giancarlo Panichi"
|
2018-06-27 16:27:22 +02:00
|
|
|
*
|
2014-10-21 12:38:37 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class StatisticalWidgetEntry implements EntryPoint {
|
|
|
|
|
|
|
|
|
|
|
|
public void onModuleLoad() {
|
|
|
|
EventBus eventBus= new SimpleEventBus();
|
|
|
|
|
|
|
|
|
|
|
|
TRId trId=new TRId();
|
|
|
|
//For example Tabular Resource 7 and table 402
|
|
|
|
trId.setId("7");
|
|
|
|
trId.setTableId("402");
|
|
|
|
|
2017-03-13 19:59:08 +01:00
|
|
|
new DataMinerWidget(trId,eventBus);
|
2014-10-21 12:38:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
Log.info("Hello!");
|
|
|
|
}
|
|
|
|
}
|