tabular-data-column-widget/src/main/java/org/gcube/portlets/user/td/columnwidget/client/ColumnWidgetEntry.java

55 lines
1.5 KiB
Java
Raw Normal View History

package org.gcube.portlets.user.td.columnwidget.client;
import org.gcube.portlets.user.td.columnwidget.client.create.AddColumnPanel;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.TabResourceType;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
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 ColumnWidgetEntry implements EntryPoint {
public void onModuleLoad() {
EventBus eventBus= new SimpleEventBus();
TRId trId=new TRId("86",TabResourceType.STANDARD, "1159");
/*
RemoveColumnDialog dialog=new RemoveColumnDialog(trId);
dialog.show();
ChangeToAnnotationColumnDialog changeToAnnotation=new ChangeToAnnotationColumnDialog(trId);
changeToAnnotation.show();
*/
/*ChangeColumnTypeDialog changeColumnType=new ChangeColumnTypeDialog(trId,eventBus);
changeColumnType.show();
*/
/*ChangeColumnTypeProgressDialog c=new ChangeColumnTypeProgressDialog(eventBus);
c.addProgressDialogListener(changeColumnType);
c.show();
*/
/*DialogCodelistSelection dcs=new DialogCodelistSelection();
dcs.show();
*/
//AddColumnPanel
AddColumnPanel addColumnPanel= new AddColumnPanel(trId, eventBus);
RootPanel.get().add(addColumnPanel);
Log.info("Hello!");
}
}