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
This commit is contained in:
Giancarlo Panichi 2015-02-03 12:05:09 +00:00
parent aa845044ab
commit f60f8d034d
1 changed files with 8 additions and 7 deletions

View File

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