tabular-data-resources-widget/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/ResourcesWidgetEntry.java

36 lines
817 B
Java

package org.gcube.portlets.user.td.resourceswidget.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"
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class ResourcesWidgetEntry 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");
ResourcesDialog dialog=new ResourcesDialog(trId,eventBus);
dialog.show();
Log.info("Hello!");
}
}