Added Position Column

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-mainbox-widget@112339 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-03 17:18:03 +00:00 committed by Giancarlo Panichi
parent cc5f89a95a
commit 8290f12849
6 changed files with 11 additions and 1 deletions

View File

@ -22,13 +22,17 @@ public class GridHeaderColumnMenu {
public GridHeaderColumnMenu() {
menuItems = new ArrayList<MenuItem>();
MenuItem changePositionItem = new MenuItem("Position Column");
changePositionItem.setId(GridHeaderOperationId.COLUMNPOSITION
.toString());
changePositionItem.setIcon(MainboxResources.INSTANCE.columnReorder());
menuItems.add(changePositionItem);
MenuItem changeLabelItem = new MenuItem("Labels");
changeLabelItem.setId(GridHeaderOperationId.COLUMNLABEL
.toString());
changeLabelItem.setIcon(MainboxResources.INSTANCE.columnLabel());
menuItems.add(changeLabelItem);
MenuItem addColumnItem = new MenuItem("Add Column");
addColumnItem.setId(GridHeaderOperationId.COLUMNADD.toString());

View File

@ -55,6 +55,12 @@ public interface MainboxResources extends ClientBundle {
@Source("column-add.png")
ImageResource columnAdd();
@Source("column-reorder_32.png")
ImageResource columnReorder32();
@Source("column-reorder.png")
ImageResource columnReorder();
@Source("column-replace.png")
ImageResource columnReplace();

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB