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");