2013-12-20 14:31:14 +01:00
|
|
|
package org.gcube.portlets.user.td.columnwidget.client;
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-04 18:53:50 +01:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
2014-01-14 19:35:34 +01:00
|
|
|
|
2013-12-20 14:31:14 +01:00
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
|
|
import com.google.gwt.core.client.EntryPoint;
|
2014-02-04 18:53:50 +01:00
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
import com.google.web.bindery.event.shared.SimpleEventBus;
|
2013-12-20 14:31:14 +01:00
|
|
|
|
2014-02-07 10:31:56 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author "Giancarlo Panichi"
|
|
|
|
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
2013-12-20 14:31:14 +01:00
|
|
|
public class ColumnWidgetEntry implements EntryPoint {
|
|
|
|
|
|
|
|
|
|
|
|
public void onModuleLoad() {
|
2014-02-04 18:53:50 +01:00
|
|
|
EventBus eventBus= new SimpleEventBus();
|
|
|
|
|
|
|
|
TRId trId=new TRId();
|
2014-01-15 16:52:58 +01:00
|
|
|
//For example Tabular Resource 1 and table 1
|
2014-02-04 18:53:50 +01:00
|
|
|
trId.setId("7");
|
|
|
|
trId.setTableId("402");
|
|
|
|
|
|
|
|
/*
|
2014-01-14 19:35:34 +01:00
|
|
|
RemoveColumnDialog dialog=new RemoveColumnDialog(trId);
|
|
|
|
dialog.show();
|
2014-01-15 12:10:54 +01:00
|
|
|
ChangeLabelColumnDialog changeLabel=new ChangeLabelColumnDialog(trId);
|
|
|
|
changeLabel.show();
|
2014-01-15 16:52:58 +01:00
|
|
|
ChangeToAnnotationColumnDialog changeToAnnotation=new ChangeToAnnotationColumnDialog(trId);
|
|
|
|
changeToAnnotation.show();
|
2014-02-07 10:31:56 +01:00
|
|
|
*/
|
2014-02-04 18:53:50 +01:00
|
|
|
ChangeColumnTypeDialog changeColumnType=new ChangeColumnTypeDialog(trId,eventBus);
|
2014-01-22 20:38:10 +01:00
|
|
|
changeColumnType.show();
|
|
|
|
|
2014-02-04 18:53:50 +01:00
|
|
|
/*DialogCodelistSelection dcs=new DialogCodelistSelection();
|
|
|
|
dcs.show();
|
|
|
|
*/
|
2013-12-20 14:31:14 +01:00
|
|
|
Log.info("Hello!");
|
|
|
|
}
|
|
|
|
}
|