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:
parent
aa845044ab
commit
f60f8d034d
|
@ -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.Radio;
|
||||||
import com.sencha.gxt.widget.core.client.form.TextField;
|
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.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.setAllowBlank(false);
|
||||||
name.setEmptyText("Enter a name...");
|
name.setEmptyText("Enter a name...");
|
||||||
name.setAllowBlank(false);
|
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)));
|
new Margins(0)));
|
||||||
|
|
||||||
// /
|
// /
|
||||||
automaticallyAttachTrue = new Radio();
|
automaticallyAttachTrue = new Radio();
|
||||||
automaticallyAttachTrue.setBoxLabel("True");
|
automaticallyAttachTrue.setBoxLabel("True");
|
||||||
automaticallyAttachTrue.setValue(true);
|
automaticallyAttachTrue.setValue(true);
|
||||||
|
automaticallyAttachTrue.setToolTip("Automatically attach the generated codelist");
|
||||||
|
|
||||||
automaticallyAttachFalse = new Radio();
|
automaticallyAttachFalse = new Radio();
|
||||||
automaticallyAttachFalse.setBoxLabel("False");
|
automaticallyAttachFalse.setBoxLabel("False");
|
||||||
|
automaticallyAttachTrue.setToolTip("Do not attach the generated codelist");
|
||||||
|
|
||||||
|
|
||||||
ToggleGroup automaticallyAttachGroup = new ToggleGroup();
|
ToggleGroup automaticallyAttachGroup = new ToggleGroup();
|
||||||
automaticallyAttachGroup.add(automaticallyAttachTrue);
|
automaticallyAttachGroup.add(automaticallyAttachTrue);
|
||||||
|
@ -138,10 +140,9 @@ public class ExtractCodelistDetailsCard extends WizardCard {
|
||||||
automaticallyAttachPanel.add(automaticallyAttachTrue);
|
automaticallyAttachPanel.add(automaticallyAttachTrue);
|
||||||
automaticallyAttachPanel.add(automaticallyAttachFalse);
|
automaticallyAttachPanel.add(automaticallyAttachFalse);
|
||||||
|
|
||||||
new ToolTip(automaticallyAttachPanel, new ToolTipConfig(
|
|
||||||
"Automatically attach the generated codelist"));
|
|
||||||
FieldLabel fieldAttach = new FieldLabel(automaticallyAttachPanel,
|
FieldLabel fieldAttach = new FieldLabel(automaticallyAttachPanel,
|
||||||
"Attach");
|
"Attach");
|
||||||
|
fieldAttach.setToolTip("Select true if you want automatically attach the generated codelist");
|
||||||
p.add(fieldAttach, new VerticalLayoutData(-1, -1, new Margins(0)));
|
p.add(fieldAttach, new VerticalLayoutData(-1, -1, new Margins(0)));
|
||||||
|
|
||||||
// //
|
// //
|
||||||
|
@ -164,7 +165,7 @@ public class ExtractCodelistDetailsCard extends WizardCard {
|
||||||
comboAttachToColumn.setTypeAhead(false);
|
comboAttachToColumn.setTypeAhead(false);
|
||||||
comboAttachToColumn.setEditable(false);
|
comboAttachToColumn.setEditable(false);
|
||||||
comboAttachToColumn.setTriggerAction(TriggerAction.ALL);
|
comboAttachToColumn.setTriggerAction(TriggerAction.ALL);
|
||||||
|
comboAttachToColumn.setToolTip("Select the column to be attached to extraced codelist");
|
||||||
attachToColumnField = new FieldLabel(comboAttachToColumn,
|
attachToColumnField = new FieldLabel(comboAttachToColumn,
|
||||||
"Attach To Column");
|
"Attach To Column");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue