Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-mainbox-widget@111454 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8957f19d4c
commit
0ac6ccbddb
|
@ -9,7 +9,6 @@ import org.gcube.portlets.user.td.widgetcommonevent.shared.GridOperationId;
|
|||
import org.gcube.portlets.user.td.widgetcommonevent.shared.grid.model.RowRaw;
|
||||
import org.gcube.portlets.user.tdwx.client.TabularDataXGridPanel;
|
||||
|
||||
import com.allen_sauer.gwt.log.client.Log;
|
||||
import com.google.gwt.event.logical.shared.SelectionEvent;
|
||||
import com.google.gwt.event.logical.shared.SelectionHandler;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
|
@ -42,7 +41,7 @@ public class GridContextMenu {
|
|||
|
||||
@Override
|
||||
public void onSelection(SelectionEvent<Item> event) {
|
||||
Log.debug("gridPanel is: " + gridPanel);
|
||||
//Log.debug("gridPanel is: " + gridPanel);
|
||||
if (gridPanel != null) {
|
||||
GridContextMenuItemEvent eventGridContextMenu = new GridContextMenuItemEvent(
|
||||
GridOperationId.ROWADD);
|
||||
|
@ -61,7 +60,7 @@ public class GridContextMenu {
|
|||
|
||||
@Override
|
||||
public void onSelection(SelectionEvent<Item> event) {
|
||||
Log.debug("gridPanel is: " + gridPanel);
|
||||
//Log.debug("gridPanel is: " + gridPanel);
|
||||
if (gridPanel != null) {
|
||||
|
||||
ArrayList<RowRaw> rows = gridPanel.getSelectedRowsAsRaw();
|
||||
|
@ -83,7 +82,7 @@ public class GridContextMenu {
|
|||
|
||||
@Override
|
||||
public void onSelection(SelectionEvent<Item> event) {
|
||||
Log.debug("gridPanel is: " + gridPanel);
|
||||
//Log.debug("gridPanel is: " + gridPanel);
|
||||
if (gridPanel != null) {
|
||||
ArrayList<String> rows = gridPanel.getSelectedRowsId();
|
||||
GridContextMenuItemEvent eventGridContextMenu = new GridContextMenuItemEvent(
|
||||
|
@ -103,7 +102,7 @@ public class GridContextMenu {
|
|||
|
||||
@Override
|
||||
public void onSelection(SelectionEvent<Item> event) {
|
||||
Log.debug("gridPanel is: " + gridPanel);
|
||||
//Log.debug("gridPanel is: " + gridPanel);
|
||||
if (gridPanel != null) {
|
||||
CellData cellData = gridPanel.getSelectedCell();
|
||||
if (cellData != null) {
|
||||
|
|
Loading…
Reference in New Issue