Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@87092 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-17 14:54:04 +00:00
parent 4ab78801d8
commit da31d97b3b
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.gcube.portlets.user.td.client.grid.ColumnHeaderMenu; import org.gcube.portlets.user.td.client.grid.ColumnHeaderMenu;
import org.gcube.portlets.user.td.client.grid.GridContextMenu;
import org.gcube.portlets.user.td.client.ribbon.TabularDataRibbon; import org.gcube.portlets.user.td.client.ribbon.TabularDataRibbon;
import org.gcube.portlets.user.td.client.rpc.TabularDataService; import org.gcube.portlets.user.td.client.rpc.TabularDataService;
import org.gcube.portlets.user.td.client.rpc.TabularDataServiceAsync; import org.gcube.portlets.user.td.client.rpc.TabularDataServiceAsync;
@ -142,6 +143,9 @@ public class TabularDataPortlet implements EntryPoint {
ColumnHeaderMenu columnHeaderMenu=new ColumnHeaderMenu(); ColumnHeaderMenu columnHeaderMenu=new ColumnHeaderMenu();
gridPanel.addGridHeaderContextMenuItems(columnHeaderMenu.getMenu(), eventBus); gridPanel.addGridHeaderContextMenuItems(columnHeaderMenu.getMenu(), eventBus);
GridContextMenu gridContextMenu=new GridContextMenu();
gridPanel.setContextMenu(gridContextMenu.getMenu());
MarginData gridData = new MarginData(); MarginData gridData = new MarginData();
mainPanelLayout.setCenterWidget(gridPanel, gridData); mainPanelLayout.setCenterWidget(gridPanel, gridData);