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
This commit is contained in:
Giancarlo Panichi 2015-03-19 17:52:03 +00:00 committed by Giancarlo Panichi
parent d2a134aa63
commit a998f1e64a
10 changed files with 17 additions and 4 deletions

View File

@ -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

View File

@ -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();

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB