From 3cf6eb1e66885f39d5c94364e717d82a96b16089 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 23 Apr 2015 15:47:15 +0000 Subject: [PATCH] Updated Rules git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@114379 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../gcube/portlets/user/td/client/rule/RuleApplyPanel.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/gcube/portlets/user/td/client/rule/RuleApplyPanel.java b/src/main/java/org/gcube/portlets/user/td/client/rule/RuleApplyPanel.java index 2e4d3a8..c6b12a4 100644 --- a/src/main/java/org/gcube/portlets/user/td/client/rule/RuleApplyPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/client/rule/RuleApplyPanel.java @@ -29,6 +29,7 @@ import com.google.gwt.event.logical.shared.SelectionHandler; import com.google.gwt.safehtml.shared.SafeHtml; import com.google.gwt.safehtml.shared.SafeHtmlBuilder; import com.google.gwt.user.client.rpc.AsyncCallback; +import com.google.gwt.user.client.ui.HTML; import com.google.web.bindery.event.shared.EventBus; import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign; import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction; @@ -73,6 +74,7 @@ import com.sencha.gxt.widget.core.client.menu.MenuItem; * */ public class RuleApplyPanel extends FramedPanel { + private static final String RULE_TIP = "

Tip.: Use drag and drop in order to change selected rules.

"; private static final String RULES_GRID_HEIGHT = "184px"; private static final String SET_RULES = "SetRules"; @@ -326,6 +328,10 @@ public class RuleApplyPanel extends FramedPanel { configurationFieldSetLayout.add(rulesSelectedLabel, new VerticalLayoutData(1, -1, new Margins(0))); + // + HTML rulesNote = new HTML(RULE_TIP); + configurationFieldSetLayout.add(rulesNote, + new VerticalLayoutData(-1, -1, new Margins(0))); // Button btnApply = new TextButton("Apply"); btnApply.setIcon(TabularDataResources.INSTANCE.ruleColumnApply());