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 af9dfc7..92025fb 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 @@ -129,6 +129,12 @@ public interface TabularDataResources extends ClientBundle { @Source("rule-add.png") ImageResource ruleAdd(); + @Source("rule-edit_32.png") + ImageResource ruleEdit32(); + + @Source("rule-edit.png") + ImageResource ruleEdit(); + @Source("rule-close_32.png") ImageResource ruleClose32(); diff --git a/src/main/java/org/gcube/portlets/user/td/client/resource/rule-edit.png b/src/main/java/org/gcube/portlets/user/td/client/resource/rule-edit.png new file mode 100644 index 0000000..0357292 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/client/resource/rule-edit.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/client/resource/rule-edit_32.png b/src/main/java/org/gcube/portlets/user/td/client/resource/rule-edit_32.png new file mode 100644 index 0000000..55b7db8 Binary files /dev/null and b/src/main/java/org/gcube/portlets/user/td/client/resource/rule-edit_32.png differ diff --git a/src/main/java/org/gcube/portlets/user/td/client/rule/RuleOpenPanel.java b/src/main/java/org/gcube/portlets/user/td/client/rule/RuleOpenPanel.java index b14c436..2a85c7d 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/rule/RuleOpenPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/client/rule/RuleOpenPanel.java @@ -282,9 +282,9 @@ public class RuleOpenPanel extends FramedPanel { toolBar.getElement().getStyle().setProperty("borderBottom", "none"); btnOpen = new TextButton("Edit"); - btnOpen.setIcon(TabularDataResources.INSTANCE.ruleOpen()); + btnOpen.setIcon(TabularDataResources.INSTANCE.ruleEdit()); btnOpen.setIconAlign(IconAlign.RIGHT); - btnOpen.setToolTip("Edit"); + btnOpen.setToolTip("Edit Rule"); btnOpen.addSelectHandler(new SelectHandler() { public void onSelect(SelectEvent event) { diff --git a/src/main/resources/org/gcube/portlets/user/td/client/resource/rule-edit.png b/src/main/resources/org/gcube/portlets/user/td/client/resource/rule-edit.png new file mode 100644 index 0000000..0357292 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/client/resource/rule-edit.png differ diff --git a/src/main/resources/org/gcube/portlets/user/td/client/resource/rule-edit_32.png b/src/main/resources/org/gcube/portlets/user/td/client/resource/rule-edit_32.png new file mode 100644 index 0000000..55b7db8 Binary files /dev/null and b/src/main/resources/org/gcube/portlets/user/td/client/resource/rule-edit_32.png differ