2013-12-19 16:54:59 +01:00
|
|
|
package org.gcube.portlets.user.td.sharewidget.client;
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-18 18:19:16 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.user.UserInfo;
|
2014-03-10 12:10:35 +01:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
|
|
|
|
2013-12-19 16:54:59 +01:00
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
|
|
import com.google.gwt.core.client.EntryPoint;
|
2014-03-10 12:10:35 +01:00
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
import com.google.web.bindery.event.shared.SimpleEventBus;
|
2013-12-19 16:54:59 +01:00
|
|
|
|
2016-04-18 18:19:16 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author Giancarlo Panichi
|
|
|
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
2013-12-19 16:54:59 +01:00
|
|
|
public class ShareWidgetEntry implements EntryPoint {
|
|
|
|
|
|
|
|
|
|
|
|
public void onModuleLoad() {
|
2014-03-10 12:10:35 +01:00
|
|
|
TRId trId=new TRId("1");
|
|
|
|
EventBus eventBus=new SimpleEventBus();
|
2016-04-18 18:19:16 +02:00
|
|
|
UserInfo userInfo=new UserInfo();
|
2014-03-10 12:10:35 +01:00
|
|
|
|
|
|
|
@SuppressWarnings("unused")
|
2016-04-18 18:19:16 +02:00
|
|
|
TRShare trShare=new TRShare(userInfo,trId,eventBus);
|
2013-12-19 16:54:59 +01:00
|
|
|
Log.info("Hello!");
|
|
|
|
}
|
|
|
|
}
|