Updated GridContextMenu
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-mainbox-widget@113668 82a268e6-3cf1-43bd-a215-b396298e98cf
|
@ -77,7 +77,7 @@ public class GridContextMenu {
|
|||
|
||||
MenuItem deleteRowItem = new MenuItem("Delete Row");
|
||||
deleteRowItem.setId(GridOperationId.ROWDELETE.toString());
|
||||
deleteRowItem.setIcon(MainboxResources.INSTANCE.rowRemove());
|
||||
deleteRowItem.setIcon(MainboxResources.INSTANCE.tableRowDeleteSelected());
|
||||
deleteRowItem.addSelectionHandler(new SelectionHandler<Item>() {
|
||||
|
||||
@Override
|
||||
|
@ -97,7 +97,7 @@ public class GridContextMenu {
|
|||
|
||||
MenuItem replaceRowsItem = new MenuItem("Replace All");
|
||||
replaceRowsItem.setId(GridOperationId.REPLACE.toString());
|
||||
replaceRowsItem.setIcon(MainboxResources.INSTANCE.columnReplace());
|
||||
replaceRowsItem.setIcon(MainboxResources.INSTANCE.columnReplaceAll());
|
||||
replaceRowsItem.addSelectionHandler(new SelectionHandler<Item>() {
|
||||
|
||||
@Override
|
||||
|
|
|
@ -66,6 +66,13 @@ public interface MainboxResources extends ClientBundle {
|
|||
|
||||
@Source("column-replace_32.png")
|
||||
ImageResource columnReplace32();
|
||||
|
||||
@Source("column-replace-all.png")
|
||||
ImageResource columnReplaceAll();
|
||||
|
||||
@Source("column-replace-all_32.png")
|
||||
ImageResource columnReplaceAll32();
|
||||
|
||||
|
||||
@Source("column-replace-batch.png")
|
||||
ImageResource columnReplaceBatch();
|
||||
|
@ -86,10 +93,16 @@ public interface MainboxResources extends ClientBundle {
|
|||
ImageResource rowInsert();
|
||||
|
||||
@Source("table-row-delete_32.png")
|
||||
ImageResource rowRemove32();
|
||||
ImageResource tableRowDelete32();
|
||||
|
||||
@Source("table-row-delete.png")
|
||||
ImageResource rowRemove();
|
||||
ImageResource tableRowDelete();
|
||||
|
||||
@Source("table-row-delete-selected_32.png")
|
||||
ImageResource tableRowDeleteSelected32();
|
||||
|
||||
@Source("table-row-delete-selected.png")
|
||||
ImageResource tableRowDeleteSelected();
|
||||
|
||||
@Source("column-split_32.png")
|
||||
ImageResource columnSplit32();
|
||||
|
|
After Width: | Height: | Size: 766 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 879 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 766 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 879 B |
After Width: | Height: | Size: 1.9 KiB |