Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@113777 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ed57af3268
commit
44bbaafca9
|
@ -2,10 +2,15 @@ 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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -17,12 +22,9 @@ public class ColumnWidgetEntry implements EntryPoint {
|
|||
|
||||
|
||||
public void onModuleLoad() {
|
||||
//EventBus eventBus= new SimpleEventBus();
|
||||
EventBus eventBus= new SimpleEventBus();
|
||||
TRId trId=new TRId("86",TabResourceType.STANDARD, "1159");
|
||||
|
||||
TRId trId=new TRId();
|
||||
//For example Tabular Resource 7 and table 402
|
||||
trId.setId("7");
|
||||
trId.setTableId("402");
|
||||
|
||||
/*
|
||||
RemoveColumnDialog dialog=new RemoveColumnDialog(trId);
|
||||
|
@ -42,6 +44,11 @@ public class ColumnWidgetEntry implements EntryPoint {
|
|||
/*DialogCodelistSelection dcs=new DialogCodelistSelection();
|
||||
dcs.show();
|
||||
*/
|
||||
|
||||
//AddColumnPanel
|
||||
AddColumnPanel addColumnPanel= new AddColumnPanel(trId, eventBus);
|
||||
RootPanel.get().add(addColumnPanel);
|
||||
|
||||
Log.info("Hello!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue