From ee625ef7714d4c396dd30dfe98ae918a96a22723 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 17 Dec 2013 13:26:06 +0000 Subject: [PATCH] Minor updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@87052 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/td/client/grid/ColumnHeaderMenu.java | 7 ++++++- .../user/td/client/resource/TabularDataResources.java | 10 ++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/client/grid/ColumnHeaderMenu.java b/src/main/java/org/gcube/portlets/user/td/client/grid/ColumnHeaderMenu.java index d868583..ce3a228 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/grid/ColumnHeaderMenu.java +++ b/src/main/java/org/gcube/portlets/user/td/client/grid/ColumnHeaderMenu.java @@ -47,8 +47,13 @@ public class ColumnHeaderMenu { newAnnotationColumnItem.setId(GridHeaderColumnMenuItemOperationId.NewAnnotationColumn.toString()); newAnnotationColumnItem.setIcon(TabularDataResources.INSTANCE.columnAdd()); menuItems.add(newAnnotationColumnItem); - + MenuItem columnDuplicateValidationItem = new MenuItem("Duplicate Validation"); + columnDuplicateValidationItem.setId(GridHeaderColumnMenuItemOperationId.ColumnDuplicateValidation.toString()); + columnDuplicateValidationItem.setIcon(TabularDataResources.INSTANCE.validateAdd()); + menuItems.add(columnDuplicateValidationItem); + + } diff --git a/src/main/java/org/gcube/portlets/user/td/client/resource/TabularDataResources.java b/src/main/java/org/gcube/portlets/user/td/client/resource/TabularDataResources.java index 513fef4..cbb8cdb 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/resource/TabularDataResources.java +++ b/src/main/java/org/gcube/portlets/user/td/client/resource/TabularDataResources.java @@ -213,10 +213,16 @@ public interface TabularDataResources extends ClientBundle { ImageResource delete(); @Source("rule-add_32.png") - ImageResource ruleadd32(); + ImageResource ruleAdd32(); @Source("rule-add.png") - ImageResource ruleadd(); + ImageResource ruleAdd(); + + @Source("validate-add_32.png") + ImageResource validateAdd32(); + + @Source("validate-add.png") + ImageResource validateAdd();