From f60f8d034d559eeded0df1fe5a148982541fb444 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 3 Feb 2015 12:05:09 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@111612 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/ExtractCodelistDetailsCard.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistDetailsCard.java b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistDetailsCard.java index 9b58091..0e17587 100644 --- a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistDetailsCard.java +++ b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistDetailsCard.java @@ -33,8 +33,6 @@ import com.sencha.gxt.widget.core.client.form.FieldSet; import com.sencha.gxt.widget.core.client.form.Radio; import com.sencha.gxt.widget.core.client.form.TextField; import com.sencha.gxt.widget.core.client.info.Info; -import com.sencha.gxt.widget.core.client.tips.ToolTip; -import com.sencha.gxt.widget.core.client.tips.ToolTipConfig; /** * @@ -95,17 +93,21 @@ public class ExtractCodelistDetailsCard extends WizardCard { name.setAllowBlank(false); name.setEmptyText("Enter a name..."); name.setAllowBlank(false); - p.add(new FieldLabel(name, "Name"), new VerticalLayoutData(1, -1, + FieldLabel nameField=new FieldLabel(name, "Name"); + nameField.setToolTip("Enter the name of new codelist extracted"); + p.add(nameField, new VerticalLayoutData(1, -1, new Margins(0))); // / automaticallyAttachTrue = new Radio(); automaticallyAttachTrue.setBoxLabel("True"); automaticallyAttachTrue.setValue(true); - + automaticallyAttachTrue.setToolTip("Automatically attach the generated codelist"); automaticallyAttachFalse = new Radio(); automaticallyAttachFalse.setBoxLabel("False"); + automaticallyAttachTrue.setToolTip("Do not attach the generated codelist"); + ToggleGroup automaticallyAttachGroup = new ToggleGroup(); automaticallyAttachGroup.add(automaticallyAttachTrue); @@ -138,10 +140,9 @@ public class ExtractCodelistDetailsCard extends WizardCard { automaticallyAttachPanel.add(automaticallyAttachTrue); automaticallyAttachPanel.add(automaticallyAttachFalse); - new ToolTip(automaticallyAttachPanel, new ToolTipConfig( - "Automatically attach the generated codelist")); FieldLabel fieldAttach = new FieldLabel(automaticallyAttachPanel, "Attach"); + fieldAttach.setToolTip("Select true if you want automatically attach the generated codelist"); p.add(fieldAttach, new VerticalLayoutData(-1, -1, new Margins(0))); // // @@ -164,7 +165,7 @@ public class ExtractCodelistDetailsCard extends WizardCard { comboAttachToColumn.setTypeAhead(false); comboAttachToColumn.setEditable(false); comboAttachToColumn.setTriggerAction(TriggerAction.ALL); - + comboAttachToColumn.setToolTip("Select the column to be attached to extraced codelist"); attachToColumnField = new FieldLabel(comboAttachToColumn, "Attach To Column");