31 lines
915 B
Java
31 lines
915 B
Java
package org.gcube.portlets.user.td.expressionwidget.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.gwt.user.client.ui.RootPanel;
|
|
import com.sencha.gxt.widget.core.client.Window;
|
|
|
|
public class ExpressionWidgetEntry implements EntryPoint {
|
|
|
|
|
|
public void onModuleLoad() {
|
|
TRId trId=new TRId();
|
|
//For example Tabular Resource 1 and table 1
|
|
trId.setId("1");
|
|
trId.setTableId("1");
|
|
|
|
ColumnExpressionPanel expressionPanel=new ColumnExpressionPanel("0", "Attribute", "Integer");
|
|
RootPanel.get().add(expressionPanel);
|
|
|
|
/*ChangeLabelColumnDialog changeLabel=new ChangeLabelColumnDialog(trId);
|
|
changeLabel.show();
|
|
ChangeToAnnotationColumnDialog changeToAnnotation=new ChangeToAnnotationColumnDialog(trId);
|
|
changeToAnnotation.show();*/
|
|
Log.info("Hello!");
|
|
}
|
|
}
|