Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@87091 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d23156e77a
commit
4ab78801d8
|
@ -17,11 +17,21 @@ public class GridContextMenu {
|
|||
protected Menu tableContextMenu;
|
||||
|
||||
public GridContextMenu(){
|
||||
MenuItem editRowItem = new MenuItem("Edit");
|
||||
MenuItem editRowItem = new MenuItem("Edit Row");
|
||||
editRowItem.setId(GridOperationId.EditRow.toString());
|
||||
editRowItem.setIcon(TabularDataResources.INSTANCE.columnLabel());
|
||||
editRowItem.setIcon(TabularDataResources.INSTANCE.rowEdit());
|
||||
tableContextMenu.add(editRowItem);
|
||||
|
||||
MenuItem addRowItem = new MenuItem("Add Row");
|
||||
addRowItem.setId(GridOperationId.EditRow.toString());
|
||||
addRowItem.setIcon(TabularDataResources.INSTANCE.rowInsert());
|
||||
tableContextMenu.add(addRowItem);
|
||||
|
||||
MenuItem removeRowItem = new MenuItem("Remove Row");
|
||||
removeRowItem.setId(GridOperationId.EditRow.toString());
|
||||
removeRowItem.setIcon(TabularDataResources.INSTANCE.rowRemove());
|
||||
tableContextMenu.add(removeRowItem);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue