From a7d2a818f3bb93ddb72339ea380b3d71a70a942f Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 19 Mar 2014 16:48:40 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@93339 82a268e6-3cf1-43bd-a215-b396298e98cf --- .settings/org.eclipse.wst.common.component | 4 ++-- .../portlets/user/td/client/grid/GridHeaderColumnMenu.java | 5 +++-- .../gcube/portlets/user/td/client/ribbon/AnalyseToolBar.java | 4 ++-- .../gcube/portlets/user/td/client/ribbon/ModifyToolBar.java | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 6a91eb1..e476882 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -7,10 +7,10 @@ uses - + uses - + uses diff --git a/src/main/java/org/gcube/portlets/user/td/client/grid/GridHeaderColumnMenu.java b/src/main/java/org/gcube/portlets/user/td/client/grid/GridHeaderColumnMenu.java index f937b8a..1097577 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/grid/GridHeaderColumnMenu.java +++ b/src/main/java/org/gcube/portlets/user/td/client/grid/GridHeaderColumnMenu.java @@ -29,11 +29,12 @@ public class GridHeaderColumnMenu { changeLabelItem.setIcon(TabularDataResources.INSTANCE.columnLabel()); menuItems.add(changeLabelItem); + /* MenuItem addColumnItem = new MenuItem("Add Column"); addColumnItem.setId(GridHeaderOperationId.COLUMNADD.toString()); addColumnItem.setIcon(TabularDataResources.INSTANCE.columnAdd()); menuItems.add(addColumnItem); - + */ MenuItem deleteColumnItem = new MenuItem("Delete Column"); @@ -52,7 +53,7 @@ public class GridHeaderColumnMenu { filterItem.setIcon(TabularDataResources.INSTANCE.columnFilter()); menuItems.add(filterItem); - MenuItem modifyValueOnConditionItem = new MenuItem("Replace"); + MenuItem modifyValueOnConditionItem = new MenuItem("Replace Batch"); modifyValueOnConditionItem.setId(GridHeaderOperationId.COLUMNBATCHREPLACE.toString()); modifyValueOnConditionItem.setIcon(TabularDataResources.INSTANCE.columnValues()); menuItems.add(modifyValueOnConditionItem); diff --git a/src/main/java/org/gcube/portlets/user/td/client/ribbon/AnalyseToolBar.java b/src/main/java/org/gcube/portlets/user/td/client/ribbon/AnalyseToolBar.java index 5a6cf55..88bde78 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/ribbon/AnalyseToolBar.java +++ b/src/main/java/org/gcube/portlets/user/td/client/ribbon/AnalyseToolBar.java @@ -240,12 +240,12 @@ public class AnalyseToolBar { columnLayout.setWidget(0, 0, filterColumnButton); columnLayout.getFlexCellFormatter().setRowSpan(0, 0, 2); - replaceValueButton = new TextButton("Replace", + replaceValueButton = new TextButton("Replace Batch", TabularDataResources.INSTANCE.columnValues32()); replaceValueButton.setScale(ButtonScale.LARGE); replaceValueButton.setIconAlign(IconAlign.TOP); replaceValueButton - .setToolTip("Replace column values"); + .setToolTip("Replace column values in batch"); replaceValueButton.setArrowAlign(ButtonArrowAlign.BOTTOM); replaceValueButton.addSelectHandler(new SelectHandler() { diff --git a/src/main/java/org/gcube/portlets/user/td/client/ribbon/ModifyToolBar.java b/src/main/java/org/gcube/portlets/user/td/client/ribbon/ModifyToolBar.java index 06bb873..fdab054 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/ribbon/ModifyToolBar.java +++ b/src/main/java/org/gcube/portlets/user/td/client/ribbon/ModifyToolBar.java @@ -250,13 +250,13 @@ public class ModifyToolBar { columnLayout.getFlexCellFormatter().setRowSpan(0, 0, 2); - replaceValueButton = new TextButton("Replace", + replaceValueButton = new TextButton("Replace Batch", TabularDataResources.INSTANCE.columnValues32()); replaceValueButton.disable(); replaceValueButton.setScale(ButtonScale.LARGE); replaceValueButton.setIconAlign(IconAlign.TOP); replaceValueButton - .setToolTip("Replace column values"); + .setToolTip("Replace column values in batch"); replaceValueButton .setArrowAlign(ButtonArrowAlign.BOTTOM); replaceValueButton