Updated Rules

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@114379 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-04-23 15:47:15 +00:00
parent 8ef7ec4f7e
commit 3cf6eb1e66
1 changed files with 6 additions and 0 deletions

View File

@ -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 = "<p>Tip.: Use drag and drop in order to change selected rules.</p>";
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());